add new required function to have the good round count in the XmlRpc callback

This commit is contained in:
Beu
2023-10-16 14:26:48 +02:00
parent 4ca1c7cb8b
commit 63b200e8c4
6 changed files with 12 additions and 6 deletions

View File

@ -6,7 +6,7 @@
#Extends "Modes/Nadeo/Trackmania/Base/TrackmaniaRoundsBase.Script.txt"
#Const CompatibleMapTypes "TrackMania\\TM_Race,TM_Race"
#Const Version "2023-09-25"
#Const Version "2023-10-16"
#Const ScriptName "Modes/TrackMania/TM_TimeAttackRounds_Online.Script.txt"
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //
@ -366,6 +366,7 @@ if (Round_ForceEndRound || Round_SkipPauseRound || Round_Skipped) {
if (!Round_SkipPauseRound) {
ForcedEndRoundSequence();
}
MB_SetValidRound(False);
} else {
Map_ValidRoundsNb += 1;
ComputeLatestRaceScores();