settimeout replay
This commit is contained in:
parent
e999acbf21
commit
f5f844b617
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user