changeset 481:ef2aca7738d5

Fix synchro bug
author Thibaut Girka <thib@sitedethib.com>
date Wed, 28 Dec 2011 21:09:55 +0100
parents d666856acb52
children f6e44398afa5
files pytouhou/network.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pytouhou/network.py
+++ b/pytouhou/network.py
@@ -67,5 +67,5 @@ class Network(object):
             if frame == game.frame:
                 self.run_game_iter(game, self.keystate, keystate)
             elif frame == game.frame + 1:
-                self.run_game_iter(game, self.old_keystate, keystate)
+                self.run_game_iter(game, self.old_keystate, old_keystate)