summaryrefslogtreecommitdiff
path: root/public/join.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/join.js')
-rw-r--r--public/join.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/public/join.js b/public/join.js
index e0f6c3c..089a615 100644
--- a/public/join.js
+++ b/public/join.js
@@ -157,10 +157,8 @@ function update_common() {
let message = window.message
if (game.status === 0) {
- if (ready && (game.owner_id === user_id))
- message.innerHTML = "Ready to start..."
- else if (ready)
- message.innerHTML = `Waiting for ${game.owner_name} to start the game...`
+ if (ready)
+ message.innerHTML = "Waiting to start..."
else
message.innerHTML = "Waiting for players to join..."
} else if (game.status === 1) {