X-Git-Url: https://git.ctpug.org.za/?a=blobdiff_plain;f=naja%2Fengine.py;h=2642feb3481de6407b63ebb02cd58b0a3691afd2;hb=HEAD;hp=d7e0caf62539de966abae6746adc66bb9ad7f4ff;hpb=dab9d5719bbac3e65bc03700b5f2237957f19fd9;p=naja.git diff --git a/naja/engine.py b/naja/engine.py index d7e0caf..2642feb 100644 --- a/naja/engine.py +++ b/naja/engine.py @@ -3,6 +3,7 @@ import pygame.locals as pgl from naja.constants import FPS from naja.events import SceneChangeEvent, QuitGameEvent, LoadGameEvent +from naja.sound import sound class Engine(object): @@ -36,4 +37,5 @@ class Engine(object): def quit_game(self): self._scene.exit() + sound.play_sound('shutdown.ogg', foreground=True) self._scene = None