From a8d7869b88e534a98aec5e97bf87ce8d3fd7a419 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 12 Jan 2022 15:43:15 +0100 Subject: Only reveal all blocks in replay. --- play.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/play.js b/play.js index d971c9c..0477792 100644 --- a/play.js +++ b/play.js @@ -101,7 +101,9 @@ function block_name(who) { } function is_known_block(b) { - return (view.game_over || BLOCKS[b].owner === player); + if (view.game_over && player === 'Observer') + return true; + return BLOCKS[b].owner === player; } function on_focus_map_block(evt) { -- cgit v1.2.3