diff --git a/src/actions/TowerAction.lua b/src/actions/TowerAction.lua index 8db9a96..8f3270a 100644 --- a/src/actions/TowerAction.lua +++ b/src/actions/TowerAction.lua @@ -47,7 +47,7 @@ function _M.startBattleRpc(agent, data) local towerInfo = role:getProperty("towerInfo") - if (towerInfo.l or 1) ~= id then return end -- 层数不对 + if towerInfo.l ~= id then return end -- 层数不对 if not csvdb["tower_battleCsv"][id] then return end local curCount, nextTime = getUpdateTime(towerInfo.c, towerInfo.t) -- libgit2 0.21.2