Merge pull request #392 from dljgs1/v2.x

fix shop bug
This commit is contained in:
Zhang Chen 2019-08-08 09:05:32 +08:00 committed by GitHub
commit c210778a2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2352,6 +2352,7 @@ events.prototype.openShop = function (shopId, needVisited) {
if (!core.flags.enableDisabledShop || shop.commonEvent) {
if (shop.times == 0) core.drawTip("该项尚未开启");
else core.drawTip("该项已失效");
core.ui.closePanel();
return;
}
else {