From eed29c9d8bf042633f1b74eec3c6e00f7256d98e Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 12 Jan 2022 15:43:28 +0100 Subject: Only reveal all blocks in replay. --- play.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/play.js b/play.js index 0fb4411..000eec8 100644 --- a/play.js +++ b/play.js @@ -434,7 +434,7 @@ function hide_block(element) { } function is_known_block(who) { - if (view.game_over) + if (view.game_over && player === 'Observer') return true; if (block_owner(who) === player) return true; @@ -445,7 +445,7 @@ function is_known_block(who) { } function is_visible_block(where, who) { - if (view.game_over) + if (view.game_over && player === 'Observer') return true; if (where === "Levy") return block_owner(who) === player; -- cgit v1.2.3