v0.3.4c: added a safety check to gamescene updating

This commit is contained in:
Evan Debenham 2016-03-03 13:00:00 -05:00
parent 2292d71d8a
commit cd98796d39

View File

@ -392,7 +392,7 @@ public class GameScene extends PixelScene {
@Override
public synchronized void update() {
if (Dungeon.hero == null) {
if (Dungeon.hero == null || scene == null) {
return;
}