From 6008e36fc9a25440775b41aec099c0784fc3cdcd Mon Sep 17 00:00:00 2001 From: oc Date: Mon, 11 Mar 2019 11:47:12 +0800 Subject: [PATCH] Fix input2:=== --- libs/control.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libs/control.js b/libs/control.js index df2efb46..48f8ea93 100644 --- a/libs/control.js +++ b/libs/control.js @@ -1821,6 +1821,11 @@ control.prototype.replay = function () { var action=core.status.replay.toReplay.shift(); + if (action == 'input2:===') { + core.replay(); + return; + } + if (action=='up' || action=='down' || action=='left' || action=='right') { core.moveHero(action, function () { setTimeout(function() {