Sync insertAction

This commit is contained in:
oc 2018-06-11 09:09:50 +08:00
parent a793ddcedc
commit ff75c2d273

View File

@ -255,14 +255,15 @@ events.prototype.doEvents = function (list, x, y, callback) {
list = [list];
}
core.status.event = {'id': 'action', 'data': {
'list': [
{"todo": core.clone(list), "total": core.clone(list), "condition": "false"}
], 'x': x, 'y': y, 'callback': callback
}}
// 停止勇士
core.waitHeroToStop(function() {
core.lockControl();
core.status.event = {'id': 'action', 'data': {
'list': [
{"todo": core.clone(list), "total": core.clone(list), "condition": "false"}
], 'x': x, 'y': y, 'callback': callback
}}
core.events.doAction();
});
}