fix players still alive when crushed

This commit is contained in:
Beu 2023-07-14 22:54:53 +02:00
parent e6426fb83f
commit 52cb42b6ae

View File

@ -4,7 +4,7 @@
#Extends "Libs/Nadeo/TMNext/TrackMania/Modes/TMNextRoundsBase.Script.txt" #Extends "Libs/Nadeo/TMNext/TrackMania/Modes/TMNextRoundsBase.Script.txt"
#Const CompatibleMapTypes "TrackMania\\TM_Race,TM_Race" #Const CompatibleMapTypes "TrackMania\\TM_Race,TM_Race"
#Const Version "2023-07-13" #Const Version "2023-07-14"
#Const ScriptName "Modes/TM2020-Gamemodes/LastManStanding.Script.txt" #Const ScriptName "Modes/TM2020-Gamemodes/LastManStanding.Script.txt"
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //
@ -360,6 +360,7 @@ foreach (Event in RacePendingEvents) {
} }
case Events::C_Type_Eliminated: { case Events::C_Type_Eliminated: {
ThrottleUpdate = True; ThrottleUpdate = True;
Race::StopSkipOutro(Event.Player);
UpdateCustomRanking(Event.Player.User, True); UpdateCustomRanking(Event.Player.User, True);
} }
} }