diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-01-13 13:26:16 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-01-28 13:50:27 +0100 |
commit | 12a2a48e5e1158e1fcbed03862ab17e2869c09e4 (patch) | |
tree | 590ba3dc06917c9bb23c9a10f679c70bae7d8902 | |
parent | cccb8136eb28268ab42770160cbffc263a896dfc (diff) | |
download | server-12a2a48e5e1158e1fcbed03862ab17e2869c09e4.tar.gz |
No need to flag ready games as "your turn" for owner.
This is already tracked in the SQL view is_active.
-rw-r--r-- | server.js | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -1475,9 +1475,6 @@ function annotate_game_info(game, user_id, unread) { }).join(", ") } - if (game.status === STATUS_OPEN && game.is_ready && game.owner_id === user_id) - game.your_turn = true - if (your_count > 0) { game.is_yours = true if (your_count === 1) |