Do not try to tick undefined parachute shadows.

This commit is contained in:
Zimmermann Gyula
2016-05-25 12:50:24 +02:00
parent 86620888fd
commit 785f883d41

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)