Commit bc365ba7baa3177617eff5adf3d6833cfc871ace
1 parent
da6362db
remove log
Showing
1 changed file
with
0 additions
and
2 deletions
Show diff stats
src/models/Diner.lua
@@ -111,7 +111,6 @@ function Diner:checkDinerTask(type, count, param1, param2, notNotify) | @@ -111,7 +111,6 @@ function Diner:checkDinerTask(type, count, param1, param2, notNotify) | ||
111 | end | 111 | end |
112 | 112 | ||
113 | function Diner:calSellReward(sell, delta, dishData) | 113 | function Diner:calSellReward(sell, delta, dishData) |
114 | - echoLog("calSellReward delta ",delta) | ||
115 | local reward = sell.reward or "" | 114 | local reward = sell.reward or "" |
116 | local popular = 0 | 115 | local popular = 0 |
117 | if delta <= 0 then | 116 | if delta <= 0 then |
@@ -149,7 +148,6 @@ function Diner:calSellReward(sell, delta, dishData) | @@ -149,7 +148,6 @@ function Diner:calSellReward(sell, delta, dishData) | ||
149 | popular = math.floor(popular * (100 + buildData.famous_up) / 100) | 148 | popular = math.floor(popular * (100 + buildData.famous_up) / 100) |
150 | end | 149 | end |
151 | end | 150 | end |
152 | - echoLog("calSellReward reward ",reward,popular) | ||
153 | return reward, popular | 151 | return reward, popular |
154 | end | 152 | end |
155 | 153 |