forked from ivaisfelds/Pygame_Project
Update bla.py
parent
20089ccd0e
commit
f1c254f928
4
bla.py
4
bla.py
|
@ -379,9 +379,9 @@ def draw_settings_menu():
|
|||
|
||||
# Рисуем кнопку для управления музыкой
|
||||
if pygame.mixer.music.get_busy():
|
||||
music_text = font.render("Music Off", True, WHITE)
|
||||
else:
|
||||
music_text = font.render("Music On", True, WHITE)
|
||||
else:
|
||||
music_text = font.render("Music Off", True, WHITE)
|
||||
music_rect = music_text.get_rect(center=(SCREEN_WIDTH // 2, SCREEN_HEIGHT // 2 - 100))
|
||||
screen.blit(music_text, music_rect)
|
||||
|
||||
|
|
Loading…
Reference in New Issue