Merge branch 'dev' of git.juzugame.com:b6-client/b6-lua into dev

This commit is contained in:
chenxi 2023-05-19 21:55:43 +08:00
commit b1671c98cd

View File

@ -26,7 +26,7 @@ local function _crossSpread(entity, gridEntities, battleController, onlyCheck)
end end
local succ = false local succ = false
tempList = table.shuffle(tempList) tempList = table.shuffle(GFunc.getTable(tempList))
for _, posId in ipairs(tempList) do for _, posId in ipairs(tempList) do
local gridEntity = gridEntities[posId] local gridEntity = gridEntities[posId]
if gridEntity:isEmptyIdle() then if gridEntity:isEmptyIdle() then