mirror of
https://github.com/SantaSpeen/BeamMP-Server.git
synced 2026-06-17 21:10:53 +00:00
Fixed lua command not registered for console
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
@@ -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"));
|
||||||
|
|||||||
Reference in New Issue
Block a user