Merge pull request #10013 from abcdefg30/bomberchrono
Fix a crash when using the chronoshift power on the map bomber john
This commit is contained in:
@@ -93,7 +93,7 @@ namespace OpenRA.Mods.RA.Activities
|
||||
if (teleporter != null && self != teleporter && !teleporter.Disposed)
|
||||
{
|
||||
var building = teleporter.TraitOrDefault<WithSpriteBody>();
|
||||
if (building != null)
|
||||
if (building != null && building.DefaultAnimation.HasSequence("active"))
|
||||
building.PlayCustomAnimation(teleporter, "active");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user