Commit 9a6538afbefd754acfcd53c17b1d60695b5fc922

Authored by zhangqijia
1 parent 7d99c172

fix: costDiamond 价格为零的商品可以购买, 价格是读配表的。

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/models/RolePlugin.lua
... ... @@ -550,7 +550,7 @@ function RolePlugin.bind(Role)
550 550 if isnan(count) then
551 551 return false
552 552 end
553   - if count <= 0 then
  553 + if count < 0 then
554 554 return false
555 555 end
556 556 local isIos = self:getProperty("sid") == IOS_SID
... ...