diff --git a/libs/control.js b/libs/control.js index 900441ad..70103bb9 100644 --- a/libs/control.js +++ b/libs/control.js @@ -1541,7 +1541,9 @@ control.prototype.replay = function () { if (action=='up' || action=='down' || action=='left' || action=='right') { core.moveHero(action, function () { - core.replay(); + setTimeout(function() { + core.replay(); + }); }); return; }