From bc43bf3a54dfd55f9bbb44ce724f09a9d61be6c2 Mon Sep 17 00:00:00 2001 From: Fabian Hoppe Date: Wed, 29 Mar 2023 16:36:26 +0200 Subject: [PATCH] increase delay of esc in levels --- project/level/selection/LevelScreenManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/level/selection/LevelScreenManager.py b/project/level/selection/LevelScreenManager.py index 66234aa..f8ef26a 100644 --- a/project/level/selection/LevelScreenManager.py +++ b/project/level/selection/LevelScreenManager.py @@ -31,7 +31,7 @@ class LevelScreenManager(ScreenManager): def tick(self, tick_data: TickData): if tick_data.key_manager.is_keymap_down(KeyManager.KEY_ESCAPE): self.main_loop.select_level_selection(self.level.theme) - pygame.time.delay(100) + pygame.time.delay(200) def player_death(self): self.main_loop.player_death(self.level)