Prevent multiple Transforms from triggering in the same tick.
This leads to actor duplication.
This commit is contained in:
@@ -204,6 +204,9 @@ namespace OpenRA.Mods.Cnc.Traits
|
||||
|
||||
void ITick.Tick(Actor self)
|
||||
{
|
||||
if (self.WillDispose)
|
||||
return;
|
||||
|
||||
if (triggered)
|
||||
health.InflictDamage(self, chronosphere, new Damage(info.Damage, info.DamageTypes), true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user