Follow the behavior wanted by Nadeo about BigMessage

This commit is contained in:
Beu 2022-04-26 15:14:41 +02:00
parent b829b41302
commit 3c78506045

View File

@ -209,15 +209,10 @@ if (WaitingScreenDuration >= 0) {
MB_Sleep(1000); MB_Sleep(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"""); UIModules_BigMessage::SetMessage("""The map will start in few seconds""");
while (MB_MapIsRunning() && S_RoundWaitingScreenDuration - WaitingScreenDuration > 0) { while (MB_MapIsRunning() && S_RoundWaitingScreenDuration - WaitingScreenDuration > 0) {
if (S_RoundWaitingScreenDuration - WaitingScreenDuration <= 3) { if (S_RoundWaitingScreenDuration - WaitingScreenDuration <= 3) {
ModeUtils::PlaySound(CUIConfig::EUISound::StartRound, 0);
UIModules_BigMessage::SetMessage("""The map starts in {{{S_RoundWaitingScreenDuration - WaitingScreenDuration}}} seconds"""); UIModules_BigMessage::SetMessage("""The map starts in {{{S_RoundWaitingScreenDuration - WaitingScreenDuration}}} seconds""");
} }
WaitingScreenDuration = WaitingScreenDuration + 1; WaitingScreenDuration = WaitingScreenDuration + 1;