Added a variable in GetCounts

This commit is contained in:
ChocoTaco 2018-10-13 17:32:21 -04:00
parent f2a83c6ac5
commit 07598d1052
2 changed files with 5 additions and 1 deletions

View file

@ -9,8 +9,11 @@ function CreateServer(%mission, %missionType)
//Call default function //Call default function
parent::CreateServer(%mission, %missionType); parent::CreateServer(%mission, %missionType);
//Start //Start
//Call for a GetTeamCount update //Make sure our activation variable is set
ResetClientChangedTeams(); ResetClientChangedTeams();
//Keeps server Auto Reset off
$Host::Dedicated = 0;
//Call for a GetTeamCount update
GetTeamCounts( %game, %client, %respawn ); GetTeamCounts( %game, %client, %respawn );
} }

View file

@ -1,4 +1,5 @@
//To activate a password in certain gamemodes //To activate a password in certain gamemodes
//called in Getcounts.cs
function CheckPUGpassword() function CheckPUGpassword()
{ {
if( $CurrentMissionType !$= "LakRabbit" ) { if( $CurrentMissionType !$= "LakRabbit" ) {