summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/recorder/sokoban.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/recorder/sokoban.c b/apps/recorder/sokoban.c
index 061afcb97a..7511fae944 100644
--- a/apps/recorder/sokoban.c
+++ b/apps/recorder/sokoban.c
@@ -691,8 +691,11 @@ static bool sokoban_loop(void)
691 if (current_info.level.boxes_to_go == 0) { 691 if (current_info.level.boxes_to_go == 0) {
692 current_info.level.level++; 692 current_info.level.level++;
693 693
694 lcd_clear_display(); 694 /* clear undo stats */
695 init_undo();
695 696
697 lcd_clear_display();
698
696 if (current_info.level.level == NUM_LEVELS) { 699 if (current_info.level.level == NUM_LEVELS) {
697 lcd_putsxy(10, 20, str(LANG_SOKOBAN_WIN)); 700 lcd_putsxy(10, 20, str(LANG_SOKOBAN_WIN));
698 701