summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui.js b/ui.js
index 34297f9..ea2097c 100644
--- a/ui.js
+++ b/ui.js
@@ -463,6 +463,8 @@ function hide_block(element) {
}
function is_known_block(info, who) {
+ if (game_over)
+ return true;
if (info.owner == player || info.owner == ASSASSINS || who == game.assassinate)
return true;
let town = game.location[who];
@@ -502,7 +504,7 @@ function update_map() {
let image = " block_" + info.image;
let steps = " r" + (info.steps - game.steps[b]);
let known = " known";
- if ((town == S_POOL || town == F_POOL) && b != game.who)
+ if ((town == S_POOL || town == F_POOL) && b != game.who && !game_over)
known = "";
element.classList = info.owner + known + " block" + image + steps + moved;
} else {