prevent to be stuck waiting players
This commit is contained in:
1 parent
6077657acd
commit
7ae7e3f277
1 file changed
+1
-1
@@ -40,7 +40,7 @@ if (GetPlayersNb() < S_PlayersPerMatch) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
while (GetPlayersNb() < S_PlayersPerMatch) {
|
while (GetPlayersNb() < S_PlayersPerMatch && MB_MapIsRunning()) {
|
||||||
MB_Yield();
|
MB_Yield();
|
||||||
|
|
||||||
foreach (Event in UIManager.PendingEvents) {
|
foreach (Event in UIManager.PendingEvents) {
|
||||||
|
|||||||
Reference in new issue
Block a user