allow pause key to be changeable

This commit is contained in:
Anthony Samms
2025-11-17 21:54:29 -05:00
parent aeb0d12e25
commit 24e0c8d980
3 changed files with 3 additions and 1 deletions

View File

@@ -240,7 +240,7 @@ class GameScreen(Screen):
audio.stop_music_stream(self.song_music)
return self.on_screen_end('SONG_SELECT')
if ray.is_key_pressed(ray.KeyboardKey.KEY_SPACE):
if ray.is_key_pressed(global_data.config["keys"]["pause_key"]):
self.pause_song()
def spawn_ending_anims(self):