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:
Xiphoseer 2022-02-07 10:19:16 +01:00 committed by GitHub
parent b7d7146821
commit 417a1a7485
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -314,6 +314,7 @@ int main(int argc, char** argv) {
framesSinceMasterDisconnect++;
if (framesSinceMasterDisconnect >= 30) {
Game::logger->Log("WorldServer", "Game loop running but no connection to master for 30 frames, shutting down");
worldShutdownSequenceStarted = true;
}
}