mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-03-26 06:49:09 +00:00
Fixed a string
This commit is contained in:
parent
62c0429f40
commit
9dd84a5a2b
1 changed files with 4 additions and 4 deletions
|
|
@ -13,24 +13,24 @@ function ActivateAntiCloak()
|
|||
//echo("AntiCloakPlayerCount " @ $AntiCloakPlayerCount);
|
||||
|
||||
//If server is in Tourny mode and the team population is lower than the AntiCloakPlayerCount cloak is not selectable.
|
||||
if( !$Host::TournamentMode && $TotalTeamPlayerCount < $Host::AntiCloakPlayerCount && !$CloakpackRunOnce )
|
||||
if( !$Host::TournamentMode && $TotalTeamPlayerCount < $Host::AntiCloakPlayerCount && $CloakpackRunOnce !$= 0)
|
||||
{
|
||||
$InvBanList[CTF, "CloakingPack"] = true;
|
||||
|
||||
if(!isActivePackage(DisableCloakPack))
|
||||
activatePackage(DisableCloakPack);
|
||||
|
||||
$CloakpackRunOnce = false;
|
||||
$CloakpackRunOnce = 0;
|
||||
}
|
||||
//All other cases it is.
|
||||
else if( $CloakpackRunOnce )
|
||||
else if( $CloakpackRunOnce !$= 1 )
|
||||
{
|
||||
$InvBanList[CTF, "CloakingPack"] = false;
|
||||
|
||||
if(isActivePackage(DisableCloakPack))
|
||||
deactivatePackage(DisableCloakPack);
|
||||
|
||||
$CloakpackRunOnce = true;
|
||||
$CloakpackRunOnce = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue