mirror of
https://github.com/SantaSpeen/BeamMP-Server.git
synced 2026-04-03 15:06:00 +00:00
update players info
This commit is contained in:
committed by
Anonymous275
parent
bca4b3f140
commit
13f8be5d39
@@ -23,7 +23,12 @@ TLuaEngine::TLuaEngine(TServer& Server, TTCPServer& TCPServer, TUDPServer& UDPSe
|
||||
}
|
||||
FolderList(Path, false);
|
||||
mPath = Path;
|
||||
Application::RegisterShutdownHandler([&] { mShutdown = true; });
|
||||
Application::RegisterShutdownHandler([&] {if (mThread.joinable()) {
|
||||
debug("shutting down LuaEngine");
|
||||
mShutdown = true;
|
||||
mThread.join();
|
||||
debug("shut down LuaEngine");
|
||||
} });
|
||||
Start();
|
||||
}
|
||||
|
||||
@@ -96,3 +101,6 @@ bool TLuaEngine::NewFile(const std::string& Path) {
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
TLuaEngine::~TLuaEngine() {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user