Commit fd18bc262e11ea67906c7cdcacaab3164a04e43b
1 parent
4e9566f2
电波塔战斗激活消息bug
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/actions/TowerAction.lua
@@ -214,7 +214,7 @@ function _M.activeTowerBonusRpc(agent, data) | @@ -214,7 +214,7 @@ function _M.activeTowerBonusRpc(agent, data) | ||
214 | local curLevel = towerLevel[tType] | 214 | local curLevel = towerLevel[tType] |
215 | 215 | ||
216 | if tType ~= 1 then | 216 | if tType ~= 1 then |
217 | - if curLevel <= globalCsv.tower_open[towerType - 1] then return 4 end | 217 | + if curLevel <= globalCsv.tower_open[tType - 1] then return 4 end |
218 | end | 218 | end |
219 | 219 | ||
220 | if (curLevel % 10000) <= bnousData.floor then return 3 end | 220 | if (curLevel % 10000) <= bnousData.floor then return 3 end |