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