v0.4.2: fixed a bug with itemsprites generating before levels did

This commit is contained in:
Evan Debenham 2016-08-26 18:47:55 -04:00 committed by Evan Debenham
parent 4aba5afade
commit ced9532a72

View File

@ -131,7 +131,8 @@ public class ItemSprite extends MovieClip {
}
public void place( int p ) {
point( worldToCamera( p ) );
if (Dungeon.level != null)
point( worldToCamera( p ) );
}
public void drop() {