summaryrefslogtreecommitdiff
path: root/public/join.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/join.js')
-rw-r--r--public/join.js13
1 files changed, 7 insertions, 6 deletions
diff --git a/public/join.js b/public/join.js
index 08e56fb..81fc665 100644
--- a/public/join.js
+++ b/public/join.js
@@ -2,11 +2,11 @@
/* global game, roles, players, blacklist, user_id */
-const pace_text = [
- "",
- "Live!",
- "Fast \u2013 many moves per day",
- "Slow \u2013 one move per day",
+const PACE_TEXT = [
+ "No time control",
+ "7+ moves per day",
+ "3+ moves per day",
+ "1+ moves per day",
]
let start_status = 0
@@ -321,7 +321,8 @@ function create_game_list() {
if (game.scenario !== "Standard")
create_game_list_item(list, "Scenario", game.scenario)
create_game_list_item(list, "Options", format_options(game.options))
- create_game_list_item(list, "Pace", pace_text[game.pace])
+ if (game.pace > 0)
+ create_game_list_item(list, "Pace", PACE_TEXT[game.pace])
create_game_list_item(list, "Notice", game.notice)
if (game.owner_id)