v0.2.4c: added null check to sprite linking
This commit is contained in:
@@ -100,6 +100,7 @@ public class CharSprite extends MovieClip implements Tweener.Listener, MovieClip
|
||||
place( ch.pos );
|
||||
turnTo( ch.pos, Random.Int( Level.LENGTH ) );
|
||||
|
||||
if (parent != null)
|
||||
ch.updateSpriteState();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user