Remove actor generation increment when entering cloak

This commit is contained in:
ScottNZ
2014-03-13 22:43:56 +13:00
parent 70dea5303f
commit acea219f55

View File

@@ -91,10 +91,7 @@ namespace OpenRA.Mods.RA
public void Tick(Actor self)
{
if (remainingTime > 0 && !crateDisabled && !damageDisabled && --remainingTime <= 0)
{
self.Generation++;
Sound.Play(Info.CloakSound, self.CenterPosition);
}
if (self.IsDisabled())
Uncloak();