From b3efcf31992fa8c8423bf96d492ca5fb460191fe Mon Sep 17 00:00:00 2001 From: ChocoTaco Date: Mon, 12 Nov 2018 23:53:16 -0500 Subject: [PATCH] Took out older language --- Classic/scripts/autoexec/GetTeamCounts.cs | 5 ++--- Classic/scripts/autoexec/TeamBalanceNotify.cs | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Classic/scripts/autoexec/GetTeamCounts.cs b/Classic/scripts/autoexec/GetTeamCounts.cs index b6605b7..fe6343f 100644 --- a/Classic/scripts/autoexec/GetTeamCounts.cs +++ b/Classic/scripts/autoexec/GetTeamCounts.cs @@ -17,7 +17,6 @@ function CreateServer(%mission, %missionType) $Host::Dedicated = $Host::EmptyServerReset; //Call for a GetTeamCount update GetTeamCounts( %game, %client, %respawn ); - } }; @@ -64,10 +63,10 @@ function GetTeamCounts( %game, %client, %respawn ) NBRStatusNotify( %game, %client, %respawn ); //Call Team Balance Notify - TeamBalanceNotify::AtSpawn( %game, %client, %respawn ); + TeamBalanceNotify( %game, %client, %respawn ); //AntiCloak Start - ActivateAntiCloak (); + ActivateAntiCloak(); //Set so counter wont run when it doesnt need to. $GetCountsClientTeamChange = false; diff --git a/Classic/scripts/autoexec/TeamBalanceNotify.cs b/Classic/scripts/autoexec/TeamBalanceNotify.cs index 607b418..3ea37e9 100644 --- a/Classic/scripts/autoexec/TeamBalanceNotify.cs +++ b/Classic/scripts/autoexec/TeamBalanceNotify.cs @@ -3,7 +3,7 @@ // //Give the client a notification on the current state of balancing. //This function is in GetTeamCounts.cs -function TeamBalanceNotify::AtSpawn( %game, %client, %respawn ) +function TeamBalanceNotify( %game, %client, %respawn ) { if( $CurrentMissionType !$= "LakRabbit" && $TotalTeamPlayerCount !$= 0 && $Host::EnableTeamBalanceNotify ) {