diff --git a/Classic/scripts/autoexec/PUGpasscheck.cs b/Classic/scripts/autoexec/PUGpasscheck.cs index 4c7bbc6..fad419e 100644 --- a/Classic/scripts/autoexec/PUGpasscheck.cs +++ b/Classic/scripts/autoexec/PUGpasscheck.cs @@ -42,6 +42,9 @@ function CheckPUGpassword() $Host::HiVisibility = "1"; } + //For zCheckVar.cs TournyNetClient + if( $CurrentMissionType !$= "CTF" && $CheckVerObserverRunOnce ) + CheckVerObserverReset(); //echo ("PUGpassCheck"); } diff --git a/Classic/scripts/autoexec/zCheckVer.cs b/Classic/scripts/autoexec/zCheckVer.cs index 8a04d47..801cafd 100644 --- a/Classic/scripts/autoexec/zCheckVer.cs +++ b/Classic/scripts/autoexec/zCheckVer.cs @@ -45,8 +45,7 @@ function CheckVerObserver(%client) } //Added -ChocoTaco -//Once per map -//Run at DefaultGame::gameOver(%game) in defaultGame.ovl evo +//Run in PUGpasscheck.cs. Reset when the server leaves ctf and when its disable thru admin options. function CheckVerObserverReset() { $CheckVerObserverRunOnce = false;