Skip to content

Commit

Permalink
v0.2: QoL changes to WndReload
Browse files Browse the repository at this point in the history
  • Loading branch information
Steampunkery committed Jan 8, 2020
1 parent ba56398 commit f04c51b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1444,8 +1444,12 @@ public void call() {
// 30 is the bit mask for any saving option being enabled
} else if (Dungeon.isLearner(30)) {

GameScene.show(new WndReload(cause));

Game.runOnRenderThread(new Callback() {
@Override
public void call() {
GameScene.show(new WndReload(cause));
}
});
} else {

reallyDie( cause );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,7 @@ private void addButton( RedButton btn ) {
btn.setRect( 0, pos > 0 ? pos += GAP : 0, WIDTH, BTN_HEIGHT );
pos += BTN_HEIGHT;
}

@Override
public void onBackPressed() {}
}

0 comments on commit f04c51b

Please sign in to comment.