From c05123e83e17f0020a34e48352556e2b4d045041 Mon Sep 17 00:00:00 2001 From: Beu Date: Thu, 23 Dec 2021 20:19:16 +0100 Subject: [PATCH] minor changes --- Events/TM_HolidayShowdown.Script.txt | 8 ++++---- PhysicsController.Script.txt | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Events/TM_HolidayShowdown.Script.txt b/Events/TM_HolidayShowdown.Script.txt index 6a8fbaa..a885787 100644 --- a/Events/TM_HolidayShowdown.Script.txt +++ b/Events/TM_HolidayShowdown.Script.txt @@ -135,13 +135,13 @@ if (Now > WaitNextUpdate) { } } SortedPlayersByRaceTime = SortedPlayersByRaceTime.sort(); - SortedPlayersByAltitude = SortedPlayersByAltitude.sortreverse(); //TODO Sort if player have floor equaled altitude + SortedPlayersByAltitude = SortedPlayersByAltitude.sortreverse(); declare K_PlayerInfo[] Ranking; declare Integer Rank = 1; foreach (AccountId => RaceTime in SortedPlayersByRaceTime) { - if (Rank > 3) break; // TODO Change + if (Rank > 16) break; declare CSmPlayer Player <=> ModeUtils::GetPlayerFromAccountId(AccountId); if (Player != Null) { declare Integer HolidayShowdown_PrevRank for Player = 0; @@ -162,7 +162,7 @@ if (Now > WaitNextUpdate) { } foreach (AccountId => PlayerAltitude in SortedPlayersByAltitude) { - if (Rank > 3) break; + if (Rank > 16) break; declare CSmPlayer Player <=> ModeUtils::GetPlayerFromAccountId(AccountId); if (Player != Null ) { declare Integer HolidayShowdown_PrevRank for Player = 0; @@ -184,7 +184,7 @@ if (Now > WaitNextUpdate) { } foreach (AccountId in SortedPlayersEliminated) { - if (Rank > 3) break; + if (Rank > 16) break; declare CSmPlayer Player <=> ModeUtils::GetPlayerFromAccountId(AccountId); if (Player != Null) { declare Integer HolidayShowdown_PrevRank for Player = 0; diff --git a/PhysicsController.Script.txt b/PhysicsController.Script.txt index 00081bf..ba2c731 100644 --- a/PhysicsController.Script.txt +++ b/PhysicsController.Script.txt @@ -159,7 +159,7 @@ if (Last_LinksSpectatorsToPlayers != S_LinksSpectatorsToPlayers) { foreach (Link in AllLinks) { declare Text[] LinkArray = TL::Split(":", Link); if (LinkArray.count > 1) { - log("[Last_LinksSpectatorsToPlayers] LinkArray.count > 1"); + Log::Log("[Last_LinksSpectatorsToPlayers] LinkArray.count > 1"); if (!TemporaryData.existskey(LinkArray[0])) TemporaryData[LinkArray[0]] = []; TemporaryData[LinkArray[0]].add(LinkArray[1]); }