From 1577237a1c5d53f19ba4faaeb6e69217bcc9356a Mon Sep 17 00:00:00 2001 From: ckcz123 Date: Wed, 20 Mar 2019 17:17:30 +0800 Subject: [PATCH] fix tilesets --- libs/core.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/core.js b/libs/core.js index 2b56dcfe..2d582aa0 100644 --- a/libs/core.js +++ b/libs/core.js @@ -242,8 +242,6 @@ core.prototype._init_flags = function () { document.getElementById("startLogo").innerHTML = core.firstData.title; (core.firstData.shops||[]).forEach(function (t) { core.initStatus.shops[t.id] = t; }); core.maps._setFloorSize(); - // 初始化地图 - core.initStatus.maps = core.maps.initMaps(core.floorIds); // 初始化怪物、道具等 core.material.enemys = core.enemys.getEnemys(); core.material.items = core.items.getItems(); @@ -337,6 +335,8 @@ core.prototype._init_others = function () { } core.prototype._afterLoadResources = function (callback) { + // 初始化地图 + core.initStatus.maps = core.maps.initMaps(core.floorIds); core.control._setRequestAnimationFrame(); core._initPlugins(); core.showStartAnimate();