From 3e0311897fedb416da32f976fec9df9b15367d37 Mon Sep 17 00:00:00 2001 From: unanmed <1319491857@qq.com> Date: Wed, 13 Mar 2024 12:26:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=BC=80=E9=97=A8=E5=90=8E=E4=BA=8B?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/libs/events.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/public/libs/events.js b/public/libs/events.js index ec1bcd5..08f0c13 100644 --- a/public/libs/events.js +++ b/public/libs/events.js @@ -537,12 +537,7 @@ events.prototype.openDoor = function (x, y, needKey, callback) { core.removeBlock(x, y); setTimeout(function () { core.status.replay.animate = false; - Mota.require('var', 'hook').emit( - 'afterOpenDoor', - block.event.id, - x, - y - ); + core.events.afterOpenDoor(block.event.id, x, y); if (callback) callback(); }, 1); // +1是为了录像检测系统 } else {