Change intro sequence to have a pretty behaviour

This commit is contained in:
Beu 2022-03-08 20:07:40 +01:00
parent dae4dbcf20
commit 5a3093b605

View File

@ -209,7 +209,7 @@ if (!MapIsCompatible) {
declare netwrite Boolean Net_LMS_IsIntro for Teams[0]; declare netwrite Boolean Net_LMS_IsIntro for Teams[0];
Net_LMS_IsIntro = True; Net_LMS_IsIntro = True;
StateMgr::ForcePlayersStates([StateMgr::C_State_Waiting]); StateMgr::ForcePlayersStates([StateMgr::C_State_Waiting]);
ModeUtils::PushAndApplyUISequence(UIManager.UIAll, CUIConfig::EUISequence::RollingBackgroundIntro); ModeUtils::PushAndApplyUISequence(UIManager.UIAll, CUIConfig::EUISequence::Intro);
declare Integer WaitingScreenDuration = 0; declare Integer WaitingScreenDuration = 0;
while (MB_MapIsRunning() && S_IntroTime - WaitingScreenDuration > 0) { while (MB_MapIsRunning() && S_IntroTime - WaitingScreenDuration > 0) {
WaitingScreenDuration = WaitingScreenDuration + 1; WaitingScreenDuration = WaitingScreenDuration + 1;