diff --git a/public/libs/events.js b/public/libs/events.js index 526b58e..f3a57b7 100644 --- a/public/libs/events.js +++ b/public/libs/events.js @@ -4441,7 +4441,6 @@ events.prototype.tryUseItem = function (itemId, noRoute, callback) { return; } if (core.canUseItem(itemId)) { - core.ui.closePanel(); core.useItem(itemId, noRoute, callback); } else { core.playSound('操作失败'); diff --git a/public/project/functions.js b/public/project/functions.js index fd48fff..d7fe8a4 100644 --- a/public/project/functions.js +++ b/public/project/functions.js @@ -201,6 +201,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = { } if (!flags.debug && !main.replayChecking) Mota.Plugin.require('completion_r').checkVisitedFloor(); + Mota.require('var', 'hook').emit('afterChangeFloor', floorId); }, flyTo: function (toId, callback) { // 楼层传送器的使用,从当前楼层飞往toId diff --git a/src/App.vue b/src/App.vue index 77fcd0a..fe67df3 100644 --- a/src/App.vue +++ b/src/App.vue @@ -13,7 +13,7 @@