From df54791dfa556ed40e176192df3cf659c0691f7e Mon Sep 17 00:00:00 2001 From: Beu Date: Tue, 9 Nov 2021 14:55:18 +0100 Subject: [PATCH] Fix bug of Map Start Order --- TM_RoyalRounds_Online.Script.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/TM_RoyalRounds_Online.Script.txt b/TM_RoyalRounds_Online.Script.txt index 984f226..251b7dd 100644 --- a/TM_RoyalRounds_Online.Script.txt +++ b/TM_RoyalRounds_Online.Script.txt @@ -174,7 +174,6 @@ declare Boolean Map_Skipped; UpdateScoresTableFooter(S_PointsLimit, S_RoundsPerMap, S_MapsPerMatch, Map_ValidRoundsNb, S_SegmentsPerRound); -declare CMapLandmark[] Map_Starts for This; declare Integer Map_NextEmptyArmorCheckTime; // Find start blocks @@ -184,6 +183,9 @@ foreach (Start in Starts) { SortedStarts[Start.Order] = Start; } SortedStarts = SortedStarts.sortkey(); + +declare CMapLandmark[] Map_Starts for This; +Map_Starts = []; foreach (Start in SortedStarts) { Map_Starts.add(Start); }