Fix Shop Bug
This commit is contained in:
parent
f9a147b0ba
commit
27e6dc802d
@ -1229,6 +1229,7 @@ events.prototype.clickShop = function(x,y) {
|
||||
core.status.route.push("shop:"+core.status.event.data.id+":"+core.status.event.data.actions.join(""));
|
||||
}
|
||||
|
||||
core.status.event.data.actions = [];
|
||||
core.status.boxAnimateObjs = [];
|
||||
if (core.status.event.data.fromList)
|
||||
core.ui.drawQuickShop();
|
||||
@ -1258,6 +1259,8 @@ events.prototype.keyUpShop = function (keycode) {
|
||||
core.status.route.push("shop:"+core.status.event.data.id+":"+core.status.event.data.actions.join(""));
|
||||
}
|
||||
|
||||
core.status.event.data.actions = [];
|
||||
|
||||
core.status.boxAnimateObjs = [];
|
||||
|
||||
if (core.status.event.data.fromList)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user