mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-01-20 00:24:49 +00:00
Changed some annotations
This commit is contained in:
parent
2b247a4463
commit
cef798bd5c
|
|
@ -2,10 +2,8 @@
|
|||
//
|
||||
//$Host::AntiCloakEnable = 1;
|
||||
//$Host::AntiCloakPlayerCount = 6;
|
||||
//
|
||||
//TotalTeamCount based on how many on team, not how many on the server.
|
||||
|
||||
//Called in GetCounts
|
||||
//Called in GetCounts.cs
|
||||
function ActivateAntiCloak()
|
||||
{
|
||||
//CTF only
|
||||
|
|
@ -14,13 +12,12 @@ function ActivateAntiCloak()
|
|||
//echo("TotalTeamPlayerCount " @ $TotalTeamPlayerCount);
|
||||
//echo("AntiCloakPlayerCount " @ $AntiCloakPlayerCount);
|
||||
|
||||
if( !$Host::TournamentMode && $TotalTeamPlayerCount < $Host::AntiCloakPlayerCount )
|
||||
//If server is in Tourny mode or if the server population isnt higher than the AntiCloakPlayerCount the CloakPack is not selectable.
|
||||
//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 )
|
||||
$InvBanList[CTF, "CloakingPack"] = true;
|
||||
//All other cases it is.
|
||||
else
|
||||
//If AntiCloakPlayerCount is lower than server population, CloakPack is enabled and Selectable.
|
||||
$InvBanList[CTF, "CloakingPack"] = false;
|
||||
|
||||
$InvBanList[CTF, "CloakingPack"] = false;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue