mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-08 05:24:39 +01:00
ac376c5dd9
When a guest sends a move to the server it's not the next player's turn until the server checks the move and rejects or accepts it. It was possible still to manipulate the board, playing new tiles, and even to attempt to commit them. And if the move came back rejected, the bogus committed one would be that was cleared. Bad. So I'm just setting the turn to -1, which disables board etc., and letting nextTurn() assigne it after the confirmation comes back. |
||
---|---|---|
.. | ||
android | ||
common | ||
dawg | ||
debian | ||
linux | ||
newrelay | ||
relay | ||
scripts | ||
tests | ||
Makefile |