diff options
-rw-r--r-- | public/join.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/public/join.js b/public/join.js index 88ec8d9..08e56fb 100644 --- a/public/join.js +++ b/public/join.js @@ -77,9 +77,9 @@ function may_start() { } function may_delete() { - if (game.owner_id !== user_id || game.is_match || game.status >= 2) + if (game.owner_id !== user_id || game.is_match) return false - if (game.status > 0 && game.user_count > 0) + if (game.status > 0 && game.user_count > 1) return false return true } |