diff --git a/Classic/scripts/CTFGame.cs b/Classic/scripts/CTFGame.cs index b05ed33..db28732 100755 --- a/Classic/scripts/CTFGame.cs +++ b/Classic/scripts/CTFGame.cs @@ -626,12 +626,12 @@ function CTFGame::flagCap(%game, %player) if($Host::ClassicEvoStats) { - %record = false; - %mincheck = false; - if($TotalTeamPlayerCount >= $Host::MinFlagRecordPlayerCount) - %mincheck = true; - if(%game.totalFlagHeldTime[%flag]) - { + %record = false; + %mincheck = false; + if($TotalTeamPlayerCount >= $Host::MinFlagRecordPlayerCount) + %mincheck = true; + if(%game.totalFlagHeldTime[%flag]) + { %held2 = getSimTime() - %game.totalFlagHeldTime[%flag]; %realtime = %game.formatTime(%held2, true); %tm = %client.team; diff --git a/Classic/scripts/SCtFGame.cs b/Classic/scripts/SCtFGame.cs index c870ba8..31ff31f 100755 --- a/Classic/scripts/SCtFGame.cs +++ b/Classic/scripts/SCtFGame.cs @@ -851,12 +851,12 @@ function SCtFGame::flagCap(%game, %player) if($Host::ClassicEvoStats) { - %record = false; - %mincheck = false; - if($TotalTeamPlayerCount >= $Host::MinFlagRecordPlayerCount) - %mincheck = true; - if(%game.totalFlagHeldTime[%flag]) - { + %record = false; + %mincheck = false; + if($TotalTeamPlayerCount >= $Host::MinFlagRecordPlayerCount) + %mincheck = true; + if(%game.totalFlagHeldTime[%flag]) + { %held2 = getSimTime() - %game.totalFlagHeldTime[%flag]; %realtime = %game.formatTime(%held2, true); %tm = %client.team;