summaryrefslogtreecommitdiff
path: root/apps/plugins/spacerocks.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/spacerocks.c')
-rw-r--r--apps/plugins/spacerocks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/spacerocks.c b/apps/plugins/spacerocks.c
index 6879ab6ee9..39de40cdd2 100644
--- a/apps/plugins/spacerocks.c
+++ b/apps/plugins/spacerocks.c
@@ -2017,8 +2017,8 @@ enum plugin_status start_game(void)
2017 button = rb->button_get(false); 2017 button = rb->button_get(false);
2018 2018
2019#ifdef HAS_BUTTON_HOLD 2019#ifdef HAS_BUTTON_HOLD
2020 if (rb->button_hold()) 2020 if (rb->button_hold() && game_state == PLAY_MODE)
2021 game_state = PAUSE_MODE; 2021 game_state = PAUSE_MODE;
2022#endif 2022#endif
2023 2023
2024 switch(button) 2024 switch(button)