diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-01-12 15:43:15 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-17 12:53:18 +0100 |
commit | a8d7869b88e534a98aec5e97bf87ce8d3fd7a419 (patch) | |
tree | 03505b1433ab1c1007ce7ed2223cbded6af782a1 | |
parent | f4cc9af0b71f5ee5a98cf33be805e5a17eca5f99 (diff) | |
download | hammer-of-the-scots-a8d7869b88e534a98aec5e97bf87ce8d3fd7a419.tar.gz |
Only reveal all blocks in replay.
-rw-r--r-- | play.js | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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) { |