increase delay of esc in levels
parent
ab04fe2985
commit
bc43bf3a54
|
@ -31,7 +31,7 @@ class LevelScreenManager(ScreenManager):
|
||||||
def tick(self, tick_data: TickData):
|
def tick(self, tick_data: TickData):
|
||||||
if tick_data.key_manager.is_keymap_down(KeyManager.KEY_ESCAPE):
|
if tick_data.key_manager.is_keymap_down(KeyManager.KEY_ESCAPE):
|
||||||
self.main_loop.select_level_selection(self.level.theme)
|
self.main_loop.select_level_selection(self.level.theme)
|
||||||
pygame.time.delay(100)
|
pygame.time.delay(200)
|
||||||
|
|
||||||
def player_death(self):
|
def player_death(self):
|
||||||
self.main_loop.player_death(self.level)
|
self.main_loop.player_death(self.level)
|
||||||
|
|
Loading…
Reference in New Issue