summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-06-22 01:20:28 +0200
committerTor Andersson <tor@ccxvii.net>2022-06-27 14:31:50 +0200
commit6120eeefa55d55ff46b508dbfa8214fc1f21b338 (patch)
tree32e28a041d9c558b6466aa5c6650fb8c48149619 /views
parentce767b57fcb916838be65f317e38c1a54f4f2258 (diff)
downloadserver-6120eeefa55d55ff46b508dbfa8214fc1f21b338.tar.gz
Sort active games with your turn first.
Diffstat (limited to 'views')
-rw-r--r--views/head.pug2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/head.pug b/views/head.pug
index 005a4b2..08f2660 100644
--- a/views/head.pug
+++ b/views/head.pug
@@ -61,7 +61,7 @@ mixin gamelist(list,hide_title=0)
case item.status
when 0
- if item.is_yours && item.is_ready
+ if item.is_ready && item.your_turn
a(class="command" href=`/join/${item.game_id}`) Start
else
a(class="command" href=`/join/${item.game_id}`) Join