Commit 46739513 by BellCodeEditor

auto save

parent 1e5ff2f4
Showing with 4 additions and 0 deletions
...@@ -6,3 +6,7 @@ if pygame.mixer.music.get_busy() == false: ...@@ -6,3 +6,7 @@ if pygame.mixer.music.get_busy() == false:
pygame.mixer.music.play( ) pygame.mixer.music.play( )
volume = 0.5 volume = 0.5
pygame.mixer.music.set_volume(volume) pygame.mixer.music.set_volume(volume)
if volume > 1:
volume = 1
if volume < 0:
volume = 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment