diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-01-12 15:43:40 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-16 19:12:55 +0100 |
commit | 0cc48e6f18fc4b069c34b62d73f1d9bbb687f5f9 (patch) | |
tree | 81edb79ffba37acb46c761adf744bd012b269b8c | |
parent | 71e9b55381f573a19919e89f1dcf444551401ed3 (diff) | |
download | richard-iii-0cc48e6f18fc4b069c34b62d73f1d9bbb687f5f9.tar.gz |
Only reveal all blocks in replay.
-rw-r--r-- | play.js | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -87,7 +87,9 @@ create_log_entry = function (text) { } function is_known_block(b) { - return view.game_over || block_owner(b) === player; + if (view.game_over && player === 'Observer') + return true; + return block_owner(b) === player; } function on_focus_area(evt) { |