settimeout replay

This commit is contained in:
oc 2018-05-03 01:25:34 +08:00
parent e999acbf21
commit f5f844b617

View File

@ -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;
}