diff gamelib/scenes/manual.py @ 566:ea9dd2b9186a pyntnclick

Hook up sound in gamelib/scenes.
author Simon Cross <hodgestar+bzr@gmail.com>
date Sat, 11 Feb 2012 15:05:18 +0200
parents 098ea4ea0d0d
children 4e9178215e75
line wrap: on
line diff
--- a/gamelib/scenes/manual.py	Sat Feb 11 15:37:59 2012 +0200
+++ b/gamelib/scenes/manual.py	Sat Feb 11 15:05:18 2012 +0200
@@ -3,7 +3,6 @@
 from albow.music import change_playlist
 
 from pyntnclick.state import Scene, Thing
-from pyntnclick.sound import get_current_playlist
 from pyntnclick.scenewidgets import InteractNoImage, InteractImage
 
 
@@ -115,7 +114,7 @@
         self._scene_playlist = None
 
     def enter(self):
-        self._scene_playlist = get_current_playlist()
+        self._scene_playlist = self.sound.get_current_playlist()
         change_playlist(None)
 
     def leave(self):