From 14848399ffa402370274e2e45b4600c0fcb0e1f7 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 23 Jun 2021 15:02:15 +0200 Subject: crusader: Hide tooltip on pool blocks. --- ui.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ui.js') diff --git a/ui.js b/ui.js index f590fde..6c99613 100644 --- a/ui.js +++ b/ui.js @@ -103,7 +103,8 @@ function block_owner(who) { return BLOCKS[who].owner; } function on_focus_map_block(evt) { let info = BLOCKS[evt.target.block]; - if (info.owner == player || info.owner == ASSASSINS) { + let where = game.location[evt.target.block]; + if ((info.owner == player || info.owner == ASSASSINS) && where != S_POOL && where != F_POOL) { let text = info.name + " "; if (info.move) text += info.move + "-"; -- cgit v1.2.3