mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-25 06:57:28 +00:00
Improve logging
Log when a WorldServer initiates shutdown because the master server connection went missing or wasn't established in the first place.
This commit is contained in:
parent
b7d7146821
commit
417a1a7485
@ -314,6 +314,7 @@ int main(int argc, char** argv) {
|
|||||||
framesSinceMasterDisconnect++;
|
framesSinceMasterDisconnect++;
|
||||||
|
|
||||||
if (framesSinceMasterDisconnect >= 30) {
|
if (framesSinceMasterDisconnect >= 30) {
|
||||||
|
Game::logger->Log("WorldServer", "Game loop running but no connection to master for 30 frames, shutting down");
|
||||||
worldShutdownSequenceStarted = true;
|
worldShutdownSequenceStarted = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user