Support Reborn

This commit is contained in:
oc 2018-03-03 23:48:46 +08:00
parent dcce32f931
commit 2f5caae07c
4 changed files with 5 additions and 5 deletions

View File

@ -32,7 +32,7 @@ editor.prototype.init = function(callback){
//core.status.maps = core.clone(core.maps.initMaps(floorIds)); //core.status.maps = core.clone(core.maps.initMaps(floorIds));
core.changeFloor(core.status.floorId, null, core.firstData.hero.loc, null, function() { core.changeFloor(core.status.floorId, null, core.firstData.hero.loc, null, function() {
afterCoreReset(); afterCoreReset();
}); }, true);
core.events.setInitData(hard); core.events.setInitData(hard);
} }
setTimeout(afterMainInit, 500); setTimeout(afterMainInit, 500);

View File

@ -324,7 +324,7 @@ actions.prototype.keyUp = function(keyCode) {
core.events.setInitData(hard); core.events.setInitData(hard);
core.changeFloor(core.status.floorId, null, core.firstData.hero.loc, null, function() { core.changeFloor(core.status.floorId, null, core.firstData.hero.loc, null, function() {
core.startReplay(route); core.startReplay(route);
}); }, true);
}, function () { }, function () {
core.ui.closePanel(); core.ui.closePanel();
}); });

View File

@ -280,7 +280,7 @@ control.prototype.startGame = function (hard, callback) {
core.changeFloor(core.status.floorId, null, core.firstData.hero.loc, null, function() { core.changeFloor(core.status.floorId, null, core.firstData.hero.loc, null, function() {
if (core.isset(callback)) callback(); if (core.isset(callback)) callback();
}); }, true);
setTimeout(function () { setTimeout(function () {
// Upload // Upload
@ -1707,7 +1707,7 @@ control.prototype.doSL = function (id, type) {
core.events.setInitData(data.hard); core.events.setInitData(data.hard);
core.changeFloor(core.status.floorId, null, core.firstData.hero.loc, null, function() { core.changeFloor(core.status.floorId, null, core.firstData.hero.loc, null, function() {
core.startReplay(core.decodeRoute(data.route)); core.startReplay(core.decodeRoute(data.route));
}); }, true);
} }
return; return;
} }

View File

@ -458,7 +458,7 @@ main.dom.replayGame.onclick = function () {
core.changeFloor(core.status.floorId, null, core.firstData.hero.loc, null, function() { core.changeFloor(core.status.floorId, null, core.firstData.hero.loc, null, function() {
//core.setHeroMoveTriggerInterval(); //core.setHeroMoveTriggerInterval();
core.startReplay(core.decodeRoute(obj.route)); core.startReplay(core.decodeRoute(obj.route));
}); }, true);
}, function () { }, function () {
}) })