Yay. it works... I gotta remember to pay more attention to scope lol.

This commit is contained in:
Storm dragon
2016-03-21 06:42:53 -04:00
parent f8597666fa
commit b271242bc9
2 changed files with 4 additions and 3 deletions
+1
View File
@@ -22,3 +22,4 @@ def initialize_gui(gameTitle):
soundData = {}
for f in soundFiles:
soundData[f.split('.')[0]] = pygame.mixer.Sound("sounds/" + f)
return soundData