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
+1
View File
@@ -230,6 +230,7 @@ static void ProcessCompositeInput() {
void ConsoleInit() { void ConsoleInit() {
SetupConsole(); SetupConsole();
LuaConsole = std::make_unique<Lua>(true); LuaConsole = std::make_unique<Lua>(true);
LuaConsole->Init();
printf("> "); printf("> ");
std::thread In(ReadCin); std::thread In(ReadCin);
In.detach(); In.detach();
+1 -1
View File
@@ -9,7 +9,7 @@
std::string CustomIP; std::string CustomIP;
std::string GetSVer() { std::string GetSVer() {
return std::string(Sec("1.1")); return std::string(Sec("1.11"));
} }
std::string GetCVer() { std::string GetCVer() {
return std::string(Sec("1.70")); return std::string(Sec("1.70"));