Fix resetMap

This commit is contained in:
ckcz123 2020-09-12 14:24:48 +08:00
parent 5995eb07ec
commit 9bb9ab6701

View File

@ -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();