From ee5d4c12a92f215ee920218e4566add7e7753979 Mon Sep 17 00:00:00 2001 From: Beu Date: Thu, 13 Jul 2023 10:08:02 +0200 Subject: [PATCH] Remove old PlaySound logics --- LastManStanding.Script.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/LastManStanding.Script.txt b/LastManStanding.Script.txt index d245a87..824efcc 100644 --- a/LastManStanding.Script.txt +++ b/LastManStanding.Script.txt @@ -467,7 +467,6 @@ if (Players.count > 0 && S_MalusDuration > 0 && MalusTime != -1 && Now > MalusTi ActiveMalus = True; NextStepMalusTime = Now + (S_MalusDuration*1000); - UIManager.UIAll.BigMessageSound = CUIConfig::EUISound::Silence; UIModules_BigMessage::SetMessage("Current Effect: "^C_Malus_Name[MalusIndex]); // Players UI update @@ -488,7 +487,6 @@ if (Players.count > 0 && S_MalusDuration > 0 && MalusTime != -1 && Now > MalusTi NextStepMalusTime = Now + (S_MalusEveryNSecs*1000); - UIManager.UIAll.BigMessageSound = CUIConfig::EUISound::Silence; UIModules_BigMessage::SetMessage(""); // Players UI update @@ -549,8 +547,7 @@ if (Round_ForceEndRound || Round_SkipPauseRound) { } Scores::SetPlayerWinner(WinnerScore); - UIManager.UIAll.BigMessageSound = CUIConfig::EUISound::EndRound; - UIManager.UIAll.BigMessageSoundVariant = 0; + ModeUtils::PlaySound(CUIConfig::EUISound::EndRound, 0); if (WinnerScore == Null) { UIModules_BigMessage::SetMessage(_("|Match|Draw"));