From 9bb9ab6701cf240218ccb20167a433f430cf0ca6 Mon Sep 17 00:00:00 2001 From: ckcz123 Date: Sat, 12 Sep 2020 14:24:48 +0800 Subject: [PATCH] Fix resetMap --- libs/maps.js | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/maps.js b/libs/maps.js index 604d8689..ae6997d5 100644 --- a/libs/maps.js +++ b/libs/maps.js @@ -2105,6 +2105,7 @@ maps.prototype.resetMap = function (floorId) { }) // 重置本层的图块删除信息 delete (flags.__disabled__ || {})[t]; + delete (core.status.mapBlockObjs || {})[t]; if (t == core.status.floorId) needRefresh = true; }); if (needRefresh) this.drawMap();