Skip to content

Commit

Permalink
disable advanced mode condition
Browse files Browse the repository at this point in the history
  • Loading branch information
griffi-gh committed Oct 16, 2024
1 parent d2d6d50 commit 2843aa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/src/game-gui.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2398,7 +2398,7 @@ game::refresh_widgets()

// XXX griffi-gh: Is this the right condition?
// Shouldn't we always show the undo button in sandbox mode? (even without advanced mode)
if (G->state.sandbox && W->is_paused() && G->state.advanced_mode) {
if (G->state.sandbox && W->is_paused() /*&& G->state.advanced_mode*/) {
this->wdg_undo->add();
this->wdg_undo->faded = undo.amount() == 0;
}
Expand Down

0 comments on commit 2843aa2

Please sign in to comment.