mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-14 15:44:34 +00:00
Added outside CTF reset
This commit is contained in:
parent
dddb677517
commit
d93e6b7dc6
1 changed files with 15 additions and 2 deletions
|
|
@ -25,7 +25,7 @@ function ActivateAntiCloak( %game )
|
||||||
$AntiCloakRunOnce = 0;
|
$AntiCloakRunOnce = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//All other cases it is.
|
//Off
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if( $AntiCloakRunOnce !$= 1 )
|
if( $AntiCloakRunOnce !$= 1 )
|
||||||
|
|
@ -38,7 +38,20 @@ function ActivateAntiCloak( %game )
|
||||||
$AntiCloakRunOnce = 1;
|
$AntiCloakRunOnce = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
//All other cases outside of CTF.
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if( $AntiCloakRunOnce !$= 1 )
|
||||||
|
{
|
||||||
|
$InvBanList[CTF, "CloakingPack"] = 0;
|
||||||
|
|
||||||
|
if(isActivePackage(DisableCloakPack))
|
||||||
|
deactivatePackage(DisableCloakPack);
|
||||||
|
|
||||||
|
$AntiCloakRunOnce = 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//So if the player is able to get a cloakpack, he cant use it
|
//So if the player is able to get a cloakpack, he cant use it
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue