From ba53ae76dc0b0b4a69fc9ecd3b3a0e4dd3ad9ed4 Mon Sep 17 00:00:00 2001 From: qweasz687 <66411718+qweasz687@users.noreply.github.com> Date: Tue, 10 Aug 2021 17:50:41 +0800 Subject: [PATCH] Update MotaActionParser.js --- _server/MotaActionParser.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/_server/MotaActionParser.js b/_server/MotaActionParser.js index e25069b4..329e6df7 100644 --- a/_server/MotaActionParser.js +++ b/_server/MotaActionParser.js @@ -561,11 +561,7 @@ ActionParser.prototype.parseAction = function() { } break; case "lockViewport": - this.next = MotaActionBlocks['lockViewport_s'].xmlText([ - this.next]); - break; - case "unlockViewport": - this.next = MotaActionBlocks['unlockViewport_s'].xmlText([ + this.next = MotaActionBlocks['lockViewport_s'].xmlText([data.lock, this.next]); break; case "vibrate": // 画面震动