v0.6.1a: added a safety check to gamescene

This commit is contained in:
Evan Debenham 2017-08-17 17:46:16 -04:00
parent 7618025509
commit bd6f379e28

View File

@ -886,7 +886,7 @@ public class GameScene extends PixelScene {
WndBag.getBag( WandHolster.class, listener, mode, title ) :
WndBag.lastBag( listener, mode, title );
scene.addToFront( wnd );
if (scene != null) scene.addToFront( wnd );
return wnd;
}