V1.4
This commit is contained in:
parent
96c6c1a353
commit
9b48c01c9b
@ -1988,6 +1988,7 @@ core.prototype.moveHero = function (direction, callback) {
|
||||
if (!core.isset(callback)) { // 如果不存在回调函数,则使用heroMoveTrigger
|
||||
core.status.heroStop = false;
|
||||
if (core.interval.heroMoveTriggerInterval==null) {
|
||||
core.moveAction();
|
||||
core.interval.heroMoveTriggerInterval = setInterval(function () {
|
||||
if (!core.status.heroStop) {
|
||||
core.moveAction();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user