elukjanovica 2024-03-04 03:24:03 +02:00
parent dc3eed681b
commit c43e8036f1
1 changed files with 2 additions and 0 deletions

View File

@ -744,6 +744,7 @@ def play_sound():
current_sound = play_sound() current_sound = play_sound()
def update_music_volume(): def update_music_volume():
volume = settings_data[music]["volume"] volume = settings_data[music]["volume"]
pygame.mixer.music.set_volume(volume / 100) pygame.mixer.music.set_volume(volume / 100)
@ -753,6 +754,7 @@ def update_sound_volume():
current_sound.set_volume(volume / 100) current_sound.set_volume(volume / 100)
# Not configured properly
def set_hue(): def set_hue():
global hue_value global hue_value
if settings_data["style"] == STYLE_CHOICES[0]: if settings_data["style"] == STYLE_CHOICES[0]: