From 97dc9e45cc7088c5b1c220f5e8ae306d94eaaab6 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 21 Sep 2023 17:33:20 +0200 Subject: Don't show "too many waiting games" on join page if game is active/finished. --- views/join.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views') 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 -- cgit v1.2.3