summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js9
1 files changed, 1 insertions, 8 deletions
diff --git a/play.js b/play.js
index b9a4870..16fb4e4 100644
--- a/play.js
+++ b/play.js
@@ -498,8 +498,6 @@ function hide_block(element) {
}
function is_known_block(who) {
- if (view.game_over && player === 'Observer')
- return true
if (block_owner(who) === player)
return true
let where = view.location[who]
@@ -509,8 +507,6 @@ function is_known_block(who) {
}
function is_visible_block(where, who) {
- if (view.game_over && player === 'Observer')
- return true
if (where === LEVY)
return block_owner(who) === player
return true
@@ -533,10 +529,7 @@ function update_map() {
if (is_known_block(b)) {
let image = " block_" + b
let known = " known"
- let jupiter = ""
- if (set_has(view.traitor, b) && view.game_over)
- jupiter = " jupiter"
- element.classList = block_color(b) + known + " block" + image + moved + jupiter
+ element.classList = block_color(b) + known + " block" + image + moved
update_steps(b, element, true)
} else {
let jupiter = ""