add temporary sfx toggle

This commit is contained in:
Yonokid
2025-05-15 21:11:15 -04:00
parent a846b0d5a0
commit 154eeae292
2 changed files with 3 additions and 1 deletions

View File

@@ -472,7 +472,8 @@ class Player:
self.draw_drum_hit_list.append(DrumHitEffect(hit_type, config["side"]))
sound = game_screen.sound_don if hit_type == "DON" else game_screen.sound_kat
audio.play_sound(sound)
if get_config()["general"]["sfx"]:
audio.play_sound(sound)
self.check_note(game_screen, config["note_type"])
self.input_log[game_screen.current_ms] = (hit_type, key)