mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-04-24 13:05:21 +00:00
Check
This commit is contained in:
parent
d976900efc
commit
89b721c1d7
1 changed files with 13 additions and 10 deletions
|
|
@ -146,17 +146,20 @@ function DefaultGame::gameOver(%game)
|
|||
{
|
||||
Parent::gameOver(%game);
|
||||
|
||||
if($InvBanList[CTF, "CloakingPack"])
|
||||
$InvBanList[CTF, "CloakingPack"] = 0;
|
||||
if(isActivePackage(AntiPackCloak))
|
||||
deactivatePackage(AntiPackCloak);
|
||||
if( $Host::AntiPackEnable )
|
||||
{
|
||||
if($InvBanList[CTF, "CloakingPack"])
|
||||
$InvBanList[CTF, "CloakingPack"] = 0;
|
||||
if(isActivePackage(AntiPackCloak))
|
||||
deactivatePackage(AntiPackCloak);
|
||||
|
||||
if($InvBanList[CTF, "ShieldPack"])
|
||||
$InvBanList[CTF, "ShieldPack"] = 0;
|
||||
if(isActivePackage(AntiPackShield))
|
||||
deactivatePackage(AntiPackShield);
|
||||
|
||||
$AntiPackStatus = "OFF";
|
||||
if($InvBanList[CTF, "ShieldPack"])
|
||||
$InvBanList[CTF, "ShieldPack"] = 0;
|
||||
if(isActivePackage(AntiPackShield))
|
||||
deactivatePackage(AntiPackShield);
|
||||
|
||||
$AntiPackStatus = "OFF";
|
||||
}
|
||||
}
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue