prevent to be stuck waiting players
This commit is contained in:
parent
6077657acd
commit
7ae7e3f277
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user