More tweaks to networking code, starting network game seems to stop all gui events.
This commit is contained in:
parent
c7947d9790
commit
7abef7b37d
3 changed files with 55 additions and 32 deletions
|
@ -80,7 +80,7 @@ class Goban:
|
|||
|
||||
rpos = self._real_pos(pos)
|
||||
|
||||
if not self._valid_move(rpos):
|
||||
if not self._valid_move(rpos, color):
|
||||
return
|
||||
|
||||
self.board[rpos] = color
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue