Commit a2f789113c5aa9d5d730428effe48e8bec0d62a5

Authored by zhouhaihai
1 parent 50ecb4c1

垃圾判断

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/actions/TowerAction.lua
... ... @@ -47,7 +47,7 @@ function _M.startBattleRpc(agent, data)
47 47  
48 48 local towerInfo = role:getProperty("towerInfo")
49 49  
50   - if (towerInfo.l or 1) ~= id then return end -- 层数不对
  50 + if towerInfo.l ~= id then return end -- 层数不对
51 51  
52 52 if not csvdb["tower_battleCsv"][id] then return end
53 53 local curCount, nextTime = getUpdateTime(towerInfo.c, towerInfo.t)
... ...