v0.6.0: adjusted cursed wand crash window to not close if tapped outside

This commit is contained in:
Evan Debenham 2017-05-18 16:14:09 -04:00
parent c22b75f276
commit eb679ffc5f

View File

@ -409,10 +409,16 @@ public class CursedWand {
} else { } else {
GameScene.show( GameScene.show(
new WndOptions("CURSED WAND ERROR", "this application will now self-destruct", "abort", "retry", "fail") { new WndOptions("CURSED WAND ERROR", "this application will now self-destruct", "abort", "retry", "fail") {
@Override @Override
public void hide() { protected void onSelect(int index) {
throw new RuntimeException("critical wand exception"); throw new RuntimeException("critical wand exception");
} }
@Override
public void onBackPressed() {
//do nothing
}
} }
); );
} }