From 75d7325a1af71c8c6dd2e9458ec3a51a27b189f1 Mon Sep 17 00:00:00 2001 From: beu Date: Sat, 29 Mar 2025 11:32:09 +0100 Subject: [PATCH] Add LiveTeamRanking --- TM_DebugMode.Script.txt | 11 ++++++++++- TM_KnockoutDelayedCountdown.Script.txt | 6 +----- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/TM_DebugMode.Script.txt b/TM_DebugMode.Script.txt index 855f74e..2cc65c4 100644 --- a/TM_DebugMode.Script.txt +++ b/TM_DebugMode.Script.txt @@ -3,7 +3,16 @@ * This mode is used to debug your modes during development. * To use it, you just have to change the line below to put the path of your mode: */ -#Extends "Modes/TrackMania/TM_Rounds_Online.Script.txt" +//#Extends "Modes/Debug.Script.txt" +//#Extends "Modes/TM2020-Beacon/TM_BeaconDuoLeague.Script.txt" +//#Extends "Modes/TM2020-Gamemodes/TM_ReverseCup.Script.txt" +//#Extends "Modes/TM_TimeAttack.Script.txt" +//#Extends "Modes/TM2020-ProximityVoiceChat/TM_ProximityVoiceChat.Script.txt" +//#Extends "Modes/Events/TM_FakeAscension.Script.txt" +#Extends "Modes/Events/Wingo/TM_RpgTeamPlayViewers.Script.txt" +//#Extends "Modes/TrackMania/Legacy/TM_CupClassic_Online.Script.txt" +//#Extends "Modes/TrackMania/TM_TMWC2023_Online.Script.txt" +//#Extends "Modes/TM2020-Gamemodes/TM_MultiLivesKnockout.Script.txt" // #RequireContext CSmMode #Include "TimeLib" as DebugMode_TiL // @mslint-disable-line include-use-common-namespace diff --git a/TM_KnockoutDelayedCountdown.Script.txt b/TM_KnockoutDelayedCountdown.Script.txt index 48d9863..5e4392d 100644 --- a/TM_KnockoutDelayedCountdown.Script.txt +++ b/TM_KnockoutDelayedCountdown.Script.txt @@ -467,14 +467,10 @@ foreach (Event in RacePendingEvents) { Scores::UpdatePlayerBestLapIfBetter(Event.Player); } } - UIModules_KnockoutInfo::UpdateLiveRanking(); - } - // GiveUp - if (Event.Type == Events::C_Type_GiveUp) { + } else if (Event.Type == Events::C_Type_GiveUp) { if (Event.Player != Null && Event.Player.Score != Null) { TagDNF(Event.Player.Score, True); } - UIModules_KnockoutInfo::UpdateLiveRanking(); } }