From 7ae7e3f2774b5ffc66f968fc58d6a2fc0972d1c7 Mon Sep 17 00:00:00 2001 From: Beu Date: Thu, 28 Dec 2023 17:40:09 +0100 Subject: [PATCH] prevent to be stuck waiting players --- TM_Alfadream.Script.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TM_Alfadream.Script.txt b/TM_Alfadream.Script.txt index 900ac46..039b580 100644 --- a/TM_Alfadream.Script.txt +++ b/TM_Alfadream.Script.txt @@ -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) {