Sped up server shutdown

This commit is contained in:
EmosewaMC
2022-04-09 14:17:31 -07:00
parent 5ef1848474
commit fd13770e87
2 changed files with 10 additions and 4 deletions

View File

@@ -522,10 +522,6 @@ int main(int argc, char** argv) {
CBITSTREAM;
PacketUtils::WriteHeader(bitStream, MASTER, MSG_MASTER_SHUTDOWN_RESPONSE);
Game::server->SendToMaster(&bitStream);
}
if (framesSinceShutdownSequence == 300)
{
break;
}
}