diff skaapsteker/engine.py @ 264:afd9256ad682

Move between doorways. (Still with hacky collision limiting.)
author Jeremy Thurgood <firxen@gmail.com>
date Fri, 08 Apr 2011 14:54:31 +0200
parents de60329cfc9f
children c68f2f3efc7f
line wrap: on
line diff
--- a/skaapsteker/engine.py	Fri Apr 08 11:47:33 2011 +0200
+++ b/skaapsteker/engine.py	Fri Apr 08 14:54:31 2011 +0200
@@ -38,7 +38,7 @@
                 if ChangeScene.matches(ev):
                     next_scene = ev.next_scene
                     if not isinstance(next_scene, Scene):
-                        next_scene = next_scene[0](self.game_state, *(next_scene[1:]))
+                        next_scene = next_scene[0](self.game_state, self.soundsystem, *(next_scene[1:]))
                     self.change_scene(next_scene)
                     break
                 self._current_scene.dispatch(ev)