From c9c2c5f04389e1c90684596e9aaf0d26739e7414 Mon Sep 17 00:00:00 2001 From: ckcz123 Date: Sun, 18 Oct 2020 18:43:06 +0800 Subject: [PATCH] Fix shouldBlurFg --- libs/maps.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/maps.js b/libs/maps.js index c9a60018..3b438964 100644 --- a/libs/maps.js +++ b/libs/maps.js @@ -881,7 +881,7 @@ maps.prototype._drawBlockInfo_shouldBlurFg = function (x, y) { if (main.mode == 'play' && !core.flags.blurFg) return false; var block = this.getBlock(x, y); if (block == null || block.id == 0) return false; - if (block.event.cls == 'autotile' || block.event.cls == 'tileset') return !block.event.script; + if (block.event.cls == 'autotile' || block.event.cls == 'tileset') return block.event.script; return true; }