diff --git a/assets.py b/assets.py index 4d578fc..54c5f65 100644 --- a/assets.py +++ b/assets.py @@ -72,12 +72,12 @@ def generate_random_level(): Sounds = {} def init_sounds(): - music_files = ["main.wav", "OP.wav", "shot.wav"] + music_files = ["main.ogg", "OP.ogg", "shot.ogg"] for file in music_files: path = os.path.dirname(os.path.realpath(__file__)) + "\\resources\\sounds\\" + file - if file == "main.wav": + if file == "main.ogg": mixer = pygame.mixer.music mixer.load(path) else: mixer = pygame.mixer.Sound(path) mixer.set_volume(1.0) - Sounds[file.replace(".wav", "")] = mixer \ No newline at end of file + Sounds[file.replace(".ogg", "")] = mixer \ No newline at end of file