16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-18 05:29:18 +02:00

lua write error

This commit is contained in:
milek7
2018-03-21 20:06:26 +01:00
parent 479498cedc
commit 9b602686a2
4 changed files with 13 additions and 5 deletions

View File

@@ -158,7 +158,12 @@ extern "C"
EXPORT void scriptapi_writelog(const char* txt)
{
WriteLog("lua: log: " + std::string(txt));
WriteLog("lua: log: " + std::string(txt), logtype::lua);
}
EXPORT void scriptapi_writeerrorlog(const char* txt)
{
ErrorLog("lua: log: " + std::string(txt), logtype::lua);
}
struct memcell_values { const char *str; double num1; double num2; };