mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-01-19 16:14:44 +00:00
Took out
This commit is contained in:
parent
61d48961e9
commit
6f8875cf3e
|
|
@ -17,8 +17,7 @@ $AntiPackIncludeShield = 0;
|
||||||
// Called in GetCounts.cs
|
// Called in GetCounts.cs
|
||||||
function CheckAntiPack(%game)
|
function CheckAntiPack(%game)
|
||||||
{
|
{
|
||||||
//CTF only
|
if($Host::AntiPackEnable)
|
||||||
if($Host::AntiPackEnable && $CurrentMissionType $= "DM" || $CurrentMissionType $= "CTF")
|
|
||||||
{
|
{
|
||||||
//echo("TotalTeamPlayerCount " @ $TotalTeamPlayerCount);
|
//echo("TotalTeamPlayerCount " @ $TotalTeamPlayerCount);
|
||||||
//echo("AntiPackPlayerCount " @ $Host::AntiPackPlayerCount);
|
//echo("AntiPackPlayerCount " @ $Host::AntiPackPlayerCount);
|
||||||
|
|
@ -35,7 +34,6 @@ function CheckAntiPack(%game)
|
||||||
$AntiPackStatus = "OFF";
|
$AntiPackStatus = "OFF";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//All other cases outside of CTF
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if($AntiPackStatus !$= "ACTIVEOFF")
|
if($AntiPackStatus !$= "ACTIVEOFF")
|
||||||
|
|
@ -146,20 +144,17 @@ function DefaultGame::gameOver(%game)
|
||||||
{
|
{
|
||||||
Parent::gameOver(%game);
|
Parent::gameOver(%game);
|
||||||
|
|
||||||
if($Host::AntiPackEnable)
|
if($InvBanList[CTF, "CloakingPack"])
|
||||||
{
|
$InvBanList[CTF, "CloakingPack"] = 0;
|
||||||
if($InvBanList[CTF, "CloakingPack"])
|
if(isActivePackage(AntiPackCloak))
|
||||||
$InvBanList[CTF, "CloakingPack"] = 0;
|
deactivatePackage(AntiPackCloak);
|
||||||
if(isActivePackage(AntiPackCloak))
|
|
||||||
deactivatePackage(AntiPackCloak);
|
|
||||||
|
|
||||||
if($InvBanList[CTF, "ShieldPack"])
|
if($InvBanList[CTF, "ShieldPack"])
|
||||||
$InvBanList[CTF, "ShieldPack"] = 0;
|
$InvBanList[CTF, "ShieldPack"] = 0;
|
||||||
if(isActivePackage(AntiPackShield))
|
if(isActivePackage(AntiPackShield))
|
||||||
deactivatePackage(AntiPackShield);
|
deactivatePackage(AntiPackShield);
|
||||||
|
|
||||||
$AntiPackStatus = "OFF";
|
$AntiPackStatus = "OFF";
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue