From 83c144764be72752d74f30eeb18c5a6ee910a7eb Mon Sep 17 00:00:00 2001 From: ShakeFlower Date: Thu, 15 May 2025 11:14:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E8=B7=B3=E8=BF=87?= =?UTF-8?q?=E5=89=A7=E6=83=85=E5=8A=9F=E8=83=BDthis=E6=8C=87=E5=90=91?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/plugins.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/project/plugins.js b/project/plugins.js index 4b576ff4..89dc7247 100644 --- a/project/plugins.js +++ b/project/plugins.js @@ -4028,14 +4028,14 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = } const perform = { - jumpBlock: maps.prototype.jumpBlock, - jumpHero: events.prototype.jumpHero, - moveBlock: maps.prototype.moveBlock, - drawAnimate: maps.prototype.drawAnimate, - drawHeroAnimate: maps.prototype.drawHeroAnimate, - vibrate: events.prototype.vibrate, - _action_sleep: events.prototype._action_sleep, - __action_checkReplaying: events.prototype.__action_checkReplaying, + jumpBlock: maps.prototype.jumpBlock.bind(maps.prototype), + jumpHero: events.prototype.jumpHero.bind(events.prototype), + moveBlock: maps.prototype.moveBlock.bind(maps.prototype), + drawAnimate: maps.prototype.drawAnimate.bind(maps.prototype), + drawHeroAnimate: maps.prototype.drawHeroAnimate.bind(maps.prototype), + vibrate: events.prototype.vibrate.bind(events.prototype), + _action_sleep: events.prototype._action_sleep.bind(events.prototype), + __action_checkReplaying: events.prototype.__action_checkReplaying.bind(events.prototype), }; function instantMove(fromX, fromY, aimX, aimY, keep, callback) {