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

basic lua support

This commit is contained in:
milek7
2017-08-30 13:55:07 +02:00
parent 1f2d7feccb
commit 5644206e42
13 changed files with 457 additions and 71 deletions

View File

@@ -365,7 +365,7 @@ int main(int argc, char *argv[])
}
catch (std::runtime_error e)
{
WriteLog(e.what());
ErrorLog(e.what());
return -1;
}
@@ -406,6 +406,11 @@ int main(int argc, char *argv[])
ErrorLog( "Critical error, memory allocation failure: " + std::string( Error.what() ) );
return -1;
}
catch (std::runtime_error e)
{
ErrorLog(e.what());
return -1;
}
#ifdef _WIN32
Console::Off(); // wyłączenie konsoli (komunikacji zwrotnej)