From a2f789113c5aa9d5d730428effe48e8bec0d62a5 Mon Sep 17 00:00:00 2001 From: zhouhaihai Date: Fri, 23 Aug 2019 16:18:45 +0800 Subject: [PATCH] 垃圾判断 --- src/actions/TowerAction.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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