mirror of
https://github.com/DarkflameUniverse/DarkflameServer
synced 2025-07-25 04:54:47 +00:00
Merge pull request #443 from DarkflameUniverse/log-missing-master-conn-shutdown
Log WorldServer shutdown when MasterServer connection is missing
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user