From a11e708c4db851e3eb5822cb381a0d55ae0c0907 Mon Sep 17 00:00:00 2001 From: beu Date: Sun, 25 Aug 2024 17:03:24 +0200 Subject: [PATCH] fix live ranking sorting --- TM_MultiLivesKnockout.Script.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TM_MultiLivesKnockout.Script.txt b/TM_MultiLivesKnockout.Script.txt index 3b79967..74d781a 100644 --- a/TM_MultiLivesKnockout.Script.txt +++ b/TM_MultiLivesKnockout.Script.txt @@ -4,7 +4,7 @@ #Extends "Modes/Nadeo/Trackmania/Base/TrackmaniaRoundsBase.Script.txt" #Const CompatibleMapTypes "TrackMania\\TM_Race,TM_Race" -#Const Version "2024-08-22" +#Const Version "2024-08-25" #Const ScriptName "Modes/TM2020-Gamemodes/TM_MultiLivesKnockout.Script.txt" // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // @@ -1382,7 +1382,7 @@ Void UpdateRanking() { foreach (CPNb => CPTimes in Ranking) { // Sort Times for this CP - declare K_PlayerState[][Integer] SortedCPTimes = CPTimes.sort(); + declare K_PlayerState[][Integer] SortedCPTimes = CPTimes.sortkey(); foreach (CPTime => PlayerStates in SortedCPTimes) { foreach (Key => PlayerStateRO in PlayerStates) { // If multiple players have the same time