summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-09-21 17:33:20 +0200
committerTor Andersson <tor@ccxvii.net>2023-09-21 22:16:42 +0200
commit97dc9e45cc7088c5b1c220f5e8ae306d94eaaab6 (patch)
tree0a74210988312050b7ee706a3855215a5d06b70e
parentc3ce3a81ef478fb7e2e3484e06673137b8c937fa (diff)
downloadserver-97dc9e45cc7088c5b1c220f5e8ae306d94eaaab6.tar.gz
Don't show "too many waiting games" on join page if game is active/finished.
-rw-r--r--views/join.pug2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/join.pug b/views/join.pug
index 5c3c296..621ab0a 100644
--- a/views/join.pug
+++ b/views/join.pug
@@ -38,7 +38,7 @@ html
else
h1 #{game.title_name} - #{game.scenario}
- if limit
+ if limit && game.status < 1
p.error= limit
p.error#error