Mercurial > touhou
diff pytouhou/ui/gamerunner.pyx @ 487:711c75115675
Various netplay-related fixes.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sat, 28 Sep 2013 20:11:41 +0200 |
parents | 2f53be1b2f60 |
children | 6be9c99a3a24 |
line wrap: on
line diff
--- a/pytouhou/ui/gamerunner.pyx +++ b/pytouhou/ui/gamerunner.pyx @@ -134,7 +134,7 @@ cdef class GameRunner(Runner): if self.save_keystates is not None: self.save_keystates.append(keystate) - if self.con: + if self.con is not None: self.con.run_iter(self.game, keystate) else: self.game.run_iter([keystate])