Merge pull request #11356 from GraionDilach/parach-shadow-nullcheck

Do not try to tick undefined parachute shadows.
This commit is contained in:
Oliver Brakmann
2016-05-25 20:40:01 +02:00

View File

@@ -135,7 +135,8 @@ namespace OpenRA.Mods.Common.Traits.Render
public void Tick(Actor self)
{
shadow.Tick();
if (shadow != null)
shadow.Tick();
}
public IEnumerable<IRenderable> Render(Actor self, WorldRenderer wr)