diff pytouhou/vm/msgrunner.py @ 494:6be9c99a3a24

Merge PlayerState into Player, fix player respawn position.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Mon, 14 Oct 2013 12:11:01 +0200
parents 2276229282fd
children 577c3a88fb67
line wrap: on
line diff
--- a/pytouhou/vm/msgrunner.py
+++ b/pytouhou/vm/msgrunner.py
@@ -31,7 +31,7 @@ class MSGRunner(object):
                  'handlers')
 
     def __init__(self, msg, script, game):
-        self._msg = msg.msgs[script + 10 * (game.players[0].state.character // 2)]
+        self._msg = msg.msgs[script + 10 * (game.players[0].character // 2)]
         self._game = game
         self.handlers = self._handlers[6]
         self.frame = 0