mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-01-20 00:24:49 +00:00
Formatting
This commit is contained in:
parent
92e18d1499
commit
a75eba1536
|
|
@ -21,13 +21,11 @@ function DefaultGame::setupClientTeams(%game)
|
|||
{
|
||||
$Host::warmupTime = $AW::DefaultWarmUpTime;
|
||||
if($HostGamePlayerCount >= $AW::MinALTWarmUpPop && $AW::EnableALTWarmUp && ($CurrentMissionType $= "CTF" || $CurrentMissionType $= "SCtF"))
|
||||
{
|
||||
%altWarmup = 1;
|
||||
$Host::warmupTime = $AW::ALTWarmUpTime;
|
||||
}
|
||||
|
||||
if(%altWarmup)
|
||||
{
|
||||
$Host::warmupTime = $AW::ALTWarmUpTime;
|
||||
for(%i = 0; %i < ClientGroup.getCount(); %i ++)
|
||||
{
|
||||
%client = ClientGroup.getObject(%i);
|
||||
|
|
@ -56,6 +54,7 @@ function serverCmdClientJoinTeam(%client, %team, %admin)
|
|||
else
|
||||
%team = 1;
|
||||
}
|
||||
|
||||
if(isObject(Game) && Game.kickClient != %client)
|
||||
{
|
||||
if(%client.team != %team)
|
||||
|
|
|
|||
Loading…
Reference in a new issue