prevent to display winner message if match is not ended
This commit is contained in:
parent
81f062d54c
commit
b9fcc221b4
@ -8,7 +8,7 @@
|
||||
#Extends "Libs/Nadeo/TMNext/TrackMania/Modes/TMNextRoundsBase.Script.txt"
|
||||
|
||||
#Const CompatibleMapTypes "TrackMania\\TM_Race,TM_Race"
|
||||
#Const Version "2023-08-08"
|
||||
#Const Version "2023-09-09"
|
||||
#Const ScriptName "Modes/TM2020-Gamemodes/TM_ReverseCup.Script.txt"
|
||||
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //
|
||||
@ -503,6 +503,7 @@ if (MB_MatchIsRunning()) {
|
||||
***
|
||||
ModeUtils::PlaySound(CUIConfig::EUISound::EndRound, 0);
|
||||
|
||||
if (!MB_Private_SkipPodiumSequence) {
|
||||
declare Text[] WinnersNames;
|
||||
foreach (Player in Players) {
|
||||
if(!Spectators.exists(Player)) {
|
||||
@ -522,7 +523,7 @@ if(WinnersNames.count >= 1) {
|
||||
} else {
|
||||
UIModules_BigMessage::SetMessage(_("|Match|Draw"));
|
||||
}
|
||||
|
||||
}
|
||||
***
|
||||
|
||||
***Match_PodiumSequence***
|
||||
|
Loading…
Reference in New Issue
Block a user