diff pytouhou/vm/msgrunner.py @ 341:61caded6b4f5

Clean music playback API a little.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 04 Jul 2012 23:05:21 +0200
parents 72ef7e24b373
children 69ec72b990a4
line wrap: on
line diff
--- a/pytouhou/vm/msgrunner.py
+++ b/pytouhou/vm/msgrunner.py
@@ -136,7 +136,7 @@ class MSGRunner(object):
 
     @instruction(7)
     def change_music(self, track):
-        self._game.change_music(track)
+        self._game.music.play(track)
 
 
     @instruction(10)