Initialize sound
authorStefano Rivera <stefano@rivera.za.net>
Sun, 11 May 2014 14:39:33 +0000 (16:39 +0200)
committerStefano Rivera <stefano@rivera.za.net>
Sun, 11 May 2014 14:39:33 +0000 (16:39 +0200)
naja/__main__.py

index cd53e4a3667e37bb0f7fe98a40934dcdc26eefd8..9beb26c63957553e3e86b19ccc836b8eabf2bd1e 100644 (file)
@@ -5,6 +5,7 @@ import pygame.locals as pgl
 
 from naja.constants import SCREEN
 from naja.engine import Engine
+from naja.sound import sound
 from naja.options import parse_args
 
 
@@ -16,6 +17,7 @@ def main():
 
     pygame.display.set_mode(SCREEN, pgl.SWSURFACE)
     pygame.display.set_caption('Naja')
+    sound.init()
 
     screen = pygame.display.get_surface()
     engine = Engine(screen)