From f028643fc0e57c8819e522f70f91339f6551d663 Mon Sep 17 00:00:00 2001 From: Beu Date: Thu, 31 Mar 2022 22:55:29 +0200 Subject: [PATCH] Update for BigMessage Library --- TM_RoyalRounds_Online.Script.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/TM_RoyalRounds_Online.Script.txt b/TM_RoyalRounds_Online.Script.txt index ff373e2..dec8d36 100644 --- a/TM_RoyalRounds_Online.Script.txt +++ b/TM_RoyalRounds_Online.Script.txt @@ -209,20 +209,20 @@ if (WaitingScreenDuration >= 0) { MB_Sleep(1000); } - // If all players are connected before the end of the countdown start immediatly - declare Integer WaitEndTime = Now + (WaitingScreenDuration * 1000); - + /* + * with the 2022-03-31 update, BigMessage is a bit broken (1 day before a Royal Rounds Event) + * 2 solutions are possible: + * * Wait an update from Nadeo + * * Create a Custom Manialink + */ + UIModules_BigMessage::SetMessage("""The map will start in few seconds"""); while (MB_MapIsRunning() && S_RoundWaitingScreenDuration - WaitingScreenDuration > 0) { - if (S_RoundWaitingScreenDuration - WaitingScreenDuration > 3) { + if (S_RoundWaitingScreenDuration - WaitingScreenDuration <= 3) { UIModules_BigMessage::SetMessage("""The map starts in {{{S_RoundWaitingScreenDuration - WaitingScreenDuration}}} seconds"""); - } else { - UIModules_BigMessage::SetMessage(""); - UIManager.UIAll.BigMessage = """The map starts in {{{S_RoundWaitingScreenDuration - WaitingScreenDuration}}} seconds"""; } WaitingScreenDuration = WaitingScreenDuration + 1; MB_Sleep(1000); } - UIManager.UIAll.BigMessage = ""; UIModules_BigMessage::SetMessage(""); ModeUtils::PopAndApplyUISequence(UIManager.UIAll);