Merge pull request #9189 from reaperrr/bye-rendersimple3
Remove RenderBuilding
This commit is contained in:
@@ -92,9 +92,9 @@ namespace OpenRA.Mods.RA.Activities
|
||||
|
||||
if (teleporter != null && self != teleporter && !teleporter.Disposed)
|
||||
{
|
||||
var building = teleporter.TraitOrDefault<RenderBuilding>();
|
||||
var building = teleporter.TraitOrDefault<WithSpriteBody>();
|
||||
if (building != null)
|
||||
building.PlayCustomAnim(teleporter, "active");
|
||||
building.PlayCustomAnimation(teleporter, "active");
|
||||
}
|
||||
|
||||
return NextActivity;
|
||||
|
||||
Reference in New Issue
Block a user