changeset 478:884ca91b0854

Fix synchro bug
author Thibaut Girka <thib@sitedethib.com>
date Wed, 28 Dec 2011 19:09:14 +0100
parents e71b1bcf952a
children 1de67f332f00
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
@@ -58,7 +58,7 @@ class Network(object):
                 game.run_iter([self.keystate, keystate])
             elif frame == game.frame + 1:
                 print('Skipped')
-                game.run_iter([self.keystate, old_keystate])
+                game.run_iter([self.old_keystate, old_keystate])
                 game.run_iter([self.keystate, keystate])
 
         self.send_message()