summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/sokoban.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/apps/plugins/sokoban.c b/apps/plugins/sokoban.c
index 5662bceebe..75a79a0754 100644
--- a/apps/plugins/sokoban.c
+++ b/apps/plugins/sokoban.c
@@ -1534,11 +1534,8 @@ static int sokoban_menu(void)
&current_info.level.index, NULL, 1, 1,
current_info.max_level, NULL);
current_info.level.index--;
- if (prev_level != current_info.level.index) {
- init_undo();
- draw_level();
- } else
- menu_quit = false;
+ init_undo();
+ draw_level();
break;
case 2: /* Audio playback control */