summaryrefslogtreecommitdiff
path: root/public/join.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/join.js')
-rw-r--r--public/join.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/public/join.js b/public/join.js
index 4c2b0a8..a5a2e3a 100644
--- a/public/join.js
+++ b/public/join.js
@@ -77,9 +77,7 @@ function start_event_source() {
}
function is_your_turn(player, role) {
- if (player.user_id === user_id)
- return (game.active_role === role || game.active_role === "Both" || game.active_role === "All");
- return false;
+ return (game.active_role === role || game.active_role === "Both" || game.active_role === "All");
}
function update() {