From 27e6dc802d178518a2c40ba5124ff283288bf76c Mon Sep 17 00:00:00 2001 From: oc Date: Mon, 12 Feb 2018 14:32:46 +0800 Subject: [PATCH] Fix Shop Bug --- libs/events.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/events.js b/libs/events.js index 533cb8f6..457cedea 100644 --- a/libs/events.js +++ b/libs/events.js @@ -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)