From 07598d1052e43b3d38047654da4d791d86001ef3 Mon Sep 17 00:00:00 2001 From: ChocoTaco Date: Sat, 13 Oct 2018 17:32:21 -0400 Subject: [PATCH] Added a variable in GetCounts --- autoexec/GetTeamCounts.cs | 5 ++++- autoexec/PUGpasscheck.cs | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/autoexec/GetTeamCounts.cs b/autoexec/GetTeamCounts.cs index bddab57..4d46b6a 100644 --- a/autoexec/GetTeamCounts.cs +++ b/autoexec/GetTeamCounts.cs @@ -9,8 +9,11 @@ function CreateServer(%mission, %missionType) //Call default function parent::CreateServer(%mission, %missionType); //Start - //Call for a GetTeamCount update + //Make sure our activation variable is set ResetClientChangedTeams(); + //Keeps server Auto Reset off + $Host::Dedicated = 0; + //Call for a GetTeamCount update GetTeamCounts( %game, %client, %respawn ); } diff --git a/autoexec/PUGpasscheck.cs b/autoexec/PUGpasscheck.cs index fca410a..f219226 100644 --- a/autoexec/PUGpasscheck.cs +++ b/autoexec/PUGpasscheck.cs @@ -1,4 +1,5 @@ //To activate a password in certain gamemodes +//called in Getcounts.cs function CheckPUGpassword() { if( $CurrentMissionType !$= "LakRabbit" ) {