mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-16 00:24:35 +00:00
Update Classic/scripts/autoexec/GetTeamCounts.cs
Formatting
This commit is contained in:
parent
3138e6570f
commit
2b247a4463
1 changed files with 3 additions and 3 deletions
|
|
@ -8,9 +8,9 @@ package StartTeamCounts
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
function CreateServer(%mission, %missionType)
|
function CreateServer( %mission, %missionType )
|
||||||
{
|
{
|
||||||
parent::CreateServer(%mission, %missionType);
|
parent::CreateServer( %mission, %missionType );
|
||||||
//Make sure teamchange variable is set
|
//Make sure teamchange variable is set
|
||||||
ResetClientChangedTeams();
|
ResetClientChangedTeams();
|
||||||
//Whether the server auto restarts when empty or not
|
//Whether the server auto restarts when empty or not
|
||||||
|
|
@ -31,7 +31,7 @@ function GetTeamCounts( %game, %client, %respawn )
|
||||||
CheckPUGpassword();
|
CheckPUGpassword();
|
||||||
|
|
||||||
//Get teamcounts
|
//Get teamcounts
|
||||||
if($GetCountsClientTeamChange && $countdownStarted && $MatchStarted)
|
if( $GetCountsClientTeamChange && $countdownStarted && $MatchStarted )
|
||||||
{
|
{
|
||||||
//Team Count code by Keen
|
//Team Count code by Keen
|
||||||
$PlayerCount[0] = 0;
|
$PlayerCount[0] = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue