Commit ccac1eaa46ea8afe76b2c0517350705d6aa76abb

Authored by zhangqijia
1 parent 167d24dc

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
... ...