mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-15 08:04:39 +00:00
Update GetTeamCounts.cs
This commit is contained in:
parent
e66a686f0a
commit
8b01a974d6
1 changed files with 3 additions and 3 deletions
|
|
@ -8,6 +8,9 @@
|
||||||
// To control whether the server auto resets when empty
|
// To control whether the server auto resets when empty
|
||||||
// $Host::EmptyServerReset = 0;
|
// $Host::EmptyServerReset = 0;
|
||||||
|
|
||||||
|
$GetCountsClientTeamChange = true;
|
||||||
|
|
||||||
|
|
||||||
package StartTeamCounts
|
package StartTeamCounts
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
@ -17,9 +20,6 @@ function CreateServer( %mission, %missionType )
|
||||||
//Call for a GetTeamCount update
|
//Call for a GetTeamCount update
|
||||||
GetTeamCounts( %game, %client, %respawn );
|
GetTeamCounts( %game, %client, %respawn );
|
||||||
|
|
||||||
|
|
||||||
//Make sure teamchange variable is set
|
|
||||||
ResetClientChangedTeams();
|
|
||||||
//Whether the server auto restarts when empty or not
|
//Whether the server auto restarts when empty or not
|
||||||
$Host::Dedicated = $Host::EmptyServerReset;
|
$Host::Dedicated = $Host::EmptyServerReset;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue