summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-12-02 14:15:55 +0100
committerMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-12-02 14:15:55 +0100
commit5659be721ef700394363344e8f12c9ae191ce0e4 (patch)
treecb684ae3c5ab83b005f7f8a76b572992aa3c802b /play.js
parentdb37f981308009336964a45136c6079f685daf7f (diff)
downloadvotes-for-women-5659be721ef700394363344e8f12c9ae191ce0e4.tar.gz
sort claimed cards
Diffstat (limited to 'play.js')
-rw-r--r--play.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/play.js b/play.js
index bc1e22b..bd2e9b2 100644
--- a/play.js
+++ b/play.js
@@ -676,8 +676,7 @@ function on_update() { // eslint-disable-line no-unused-vars
for (let c of view.opposition_claimed)
document.getElementById("opposition_claimed").appendChild(ui.cards[c])
- // XXX sort is temporary, is done server side for new games.
- for (let c of view.states_draw.sort())
+ for (let c of view.states_draw)
document.getElementById("states_draw").appendChild(ui.cards[c])
for (let c of view.strategy_draw)
document.getElementById("strategy_draw").appendChild(ui.cards[c])