Commit cb3569003b049af26df77205ee07b8dda22d3612

Authored by zhouhaihai
1 parent 6e411115

美食币计算错误

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/models/Diner.lua
... ... @@ -201,7 +201,7 @@ function Diner:calSellReward(sell, delta, dishData)
201 201 upValue[ItemId.Gold] = (upValue[ItemId.Gold] or 0) + buildData.gold_up
202 202 end
203 203 if buildData.item_up > 0 then
204   - upValue[ItemId.DinerCoin] = (upValue[ItemId.DinerCoin] or 0) + buildData.gold_up
  204 + upValue[ItemId.DinerCoin] = (upValue[ItemId.DinerCoin] or 0) + buildData.item_up
205 205 end
206 206 if buildData and buildData.famous_up > 0 then
207 207 upValue[-1] = (upValue[-1] or 0) + buildData.famous_up
... ...