diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-01-12 15:43:28 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-16 19:08:56 +0100 |
commit | eed29c9d8bf042633f1b74eec3c6e00f7256d98e (patch) | |
tree | c38b1e985cb8dbf6c092ac5aff31e310b75f9512 /play.js | |
parent | 16a72748e52eddae18eb968310cbbe373effecf5 (diff) | |
download | julius-caesar-eed29c9d8bf042633f1b74eec3c6e00f7256d98e.tar.gz |
Only reveal all blocks in replay.
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |