From 519b76eb480e5672174f85a24a7c64b9f3547815 Mon Sep 17 00:00:00 2001 From: oc Date: Sat, 6 Jul 2019 15:34:20 +0800 Subject: [PATCH] fix changeFloor onDownInterval --- libs/events.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/events.js b/libs/events.js index 0c30dfb0..4d61b05a 100644 --- a/libs/events.js +++ b/libs/events.js @@ -528,6 +528,8 @@ events.prototype.changeFloor = function (floorId, stair, heroLoc, time, callback core.stopAutomaticRoute(); core.clearContinueAutomaticRoute(); core.status.replay.animate = true; + clearInterval(core.interval.onDownInterval); + core.interval.onDownInterval = 'tmp'; this._changeFloor_beforeChange(info, callback); }