bug修复
This commit is contained in:
parent
d348d13fcc
commit
fd2c150b19
@ -26,8 +26,8 @@ local function _crossSpread(entity, gridEntities, battleController, onlyCheck)
|
||||
end
|
||||
|
||||
local succ = false
|
||||
local newlist = table.shuffle(tempList)
|
||||
for _, posId in ipairs(newlist) do
|
||||
tempList = table.shuffle(GFunc.getTable(tempList))
|
||||
for _, posId in ipairs(tempList) do
|
||||
local gridEntity = gridEntities[posId]
|
||||
if gridEntity:isEmptyIdle() then
|
||||
battleController.battleData:setGridType(posId, BattleConst.GRID_TYPE.JELLY)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user