prevent to be stuck waiting players

This commit is contained in:
Beu 2023-12-28 17:40:09 +01:00
parent 6077657acd
commit 7ae7e3f277

View File

@ -40,7 +40,7 @@ if (GetPlayersNb() < S_PlayersPerMatch) {
}
while (GetPlayersNb() < S_PlayersPerMatch) {
while (GetPlayersNb() < S_PlayersPerMatch && MB_MapIsRunning()) {
MB_Yield();
foreach (Event in UIManager.PendingEvents) {