v0.4.2: fixed a crash bug on level load
This commit is contained in:
parent
044c93d3aa
commit
df5f9dc1d5
|
@ -751,7 +751,8 @@ public class GameScene extends PixelScene {
|
||||||
|
|
||||||
public static void selectCell( CellSelector.Listener listener ) {
|
public static void selectCell( CellSelector.Listener listener ) {
|
||||||
cellSelector.listener = listener;
|
cellSelector.listener = listener;
|
||||||
scene.prompt( listener.prompt() );
|
if (scene != null)
|
||||||
|
scene.prompt( listener.prompt() );
|
||||||
}
|
}
|
||||||
|
|
||||||
private static boolean cancelCellSelector() {
|
private static boolean cancelCellSelector() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user