mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-01-20 00:24:49 +00:00
Formatting
This commit is contained in:
parent
f0893c48db
commit
37b085f8c8
|
|
@ -17,22 +17,14 @@ package AntiTurret
|
|||
|
||||
function TurretData::selectTarget(%this, %turret)
|
||||
{
|
||||
if( !$Host::TournamentMode && $TotalTeamPlayerCount < $Host::EnableTurretPlayerCount )
|
||||
{
|
||||
if(!$Host::TournamentMode && $TotalTeamPlayerCount < $Host::EnableTurretPlayerCount)
|
||||
%turret.clearTarget();
|
||||
}
|
||||
else
|
||||
{
|
||||
//All turret types can fire
|
||||
if( $Host::EnableMortarTurret )
|
||||
{
|
||||
if($Host::EnableMortarTurret) //All turret types can fire
|
||||
parent::selectTarget(%this, %turret);
|
||||
}
|
||||
//Only non-MortarTurret types can fire
|
||||
else if( %turret.initialBarrel !$= "MortarBarrelLarge" )
|
||||
{
|
||||
else if(%turret.initialBarrel !$= "MortarBarrelLarge") //Only non-MortarTurret types can fire
|
||||
parent::selectTarget(%this, %turret);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue