Fixed lua command not registered for console

This commit is contained in:
Anonymous275 2020-11-16 21:09:13 +02:00
parent e12b7da27f
commit 667a22b0f8
2 changed files with 2 additions and 1 deletions

View File

@ -230,6 +230,7 @@ static void ProcessCompositeInput() {
void ConsoleInit() {
SetupConsole();
LuaConsole = std::make_unique<Lua>(true);
LuaConsole->Init();
printf("> ");
std::thread In(ReadCin);
In.detach();

View File

@ -9,7 +9,7 @@
std::string CustomIP;
std::string GetSVer() {
return std::string(Sec("1.1"));
return std::string(Sec("1.11"));
}
std::string GetCVer() {
return std::string(Sec("1.70"));