From 84cf1b97394ed6d7493d679facb9efb79d70a466 Mon Sep 17 00:00:00 2001 From: ChocoTaco Date: Fri, 22 Feb 2019 19:52:19 -0500 Subject: [PATCH] Added reset/annotations --- Classic/scripts/autoexec/PUGpasscheck.cs | 3 +++ Classic/scripts/autoexec/zCheckVer.cs | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) 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;