Add LiveTeamRanking

This commit is contained in:
Beu 2025-03-29 11:32:09 +01:00
parent da04fba158
commit 75d7325a1a
2 changed files with 11 additions and 6 deletions

View File

@ -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

View File

@ -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();
}
}