多指操作的bug修复

This commit is contained in:
xiekaidong 2023-04-28 09:57:11 +08:00
parent 165a4a3226
commit f9f5587e0c

View File

@ -671,7 +671,7 @@ function BattleController:onLinkStart(entity, posId, isVirtual)
self.battleUI:showTutorialFinger()
end
if #self.battleData:getGridSequence() > 0 then
self.battleData:clearGridSequence()
self:clearGridSequence()
end
self.battleData:insertGridSequence(posId, self:snapshotBoard(), isVirtual)
local skillEntity = self.battleData:getSkillEntityBySkillId(entity:getSkillId())