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": // 画面震动