From: Stefano Rivera Date: Sun, 11 May 2014 14:39:33 +0000 (+0200) Subject: Initialize sound X-Git-Tag: 0.1~431 X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=1b13f9cca9f5db16419a74474159008ddc82bf27;p=naja.git Initialize sound --- diff --git a/naja/__main__.py b/naja/__main__.py index cd53e4a..9beb26c 100644 --- a/naja/__main__.py +++ b/naja/__main__.py @@ -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)