From cb2a5796df9733145e97b13a8fde6f842fc3476d Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 27 Dec 2023 13:38:05 +0100 Subject: Start games automatically instead of sending reminders to start. Blacklists and invitations handle the cases for which manual starting of games was needed. --- public/join.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'public') 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) { -- cgit v1.2.3