mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-03 14:26:09 +00:00
update players info
This commit is contained in:
committed by
Anonymous275
parent
bca4b3f140
commit
13f8be5d39
@@ -38,7 +38,9 @@ int main(int argc, char** argv) {
|
||||
info("registering handlers for SIGINT, SIGTERM, SIGPIPE");
|
||||
signal(SIGPIPE, UnixSignalHandler);
|
||||
signal(SIGTERM, UnixSignalHandler);
|
||||
#ifndef DEBUG
|
||||
signal(SIGINT, UnixSignalHandler);
|
||||
#endif // DEBUG
|
||||
#endif // __unix
|
||||
|
||||
bool Shutdown = false;
|
||||
@@ -53,6 +55,7 @@ int main(int argc, char** argv) {
|
||||
TUDPServer UDPServer(Server, PPSMonitor, TCPServer);
|
||||
TLuaEngine LuaEngine(Server, TCPServer, UDPServer);
|
||||
TCPServer.SetUDPServer(UDPServer);
|
||||
Application::Console().InitializeLuaConsole(LuaEngine);
|
||||
|
||||
// TODO: replace
|
||||
while (!Shutdown) {
|
||||
|
||||
Reference in New Issue
Block a user