From bff01ea840a3c5c81142c1ba8eb68d0817ca037f Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Wed, 16 Oct 2024 11:09:57 +0200 Subject: [PATCH] fix return --- src/src/game-gui.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/src/game-gui.cc b/src/src/game-gui.cc index 2bfc829d..103b8d76 100644 --- a/src/src/game-gui.cc +++ b/src/src/game-gui.cc @@ -1007,7 +1007,7 @@ game::widget_clicked(principia_wdg *w, uint8_t button_id, int pid) case GW_UNDO: P.add_action(ACTION_UNDO_RESTORE, 0); - break; + return true; case GW_MODE: {