bug修复

This commit is contained in:
xiekaidong 2023-10-26 10:38:35 +08:00
parent bbc20416b4
commit 7c5a57323e

View File

@ -1995,6 +1995,7 @@ function BattleBaseController:lockElement(lcokElementType, isUnlock)
end end
if isUnlock then if isUnlock then
self.battleData:cacheLockElement(lcokElementType, nil)
for elementType, list in pairs(self.lockElementMap) do for elementType, list in pairs(self.lockElementMap) do
self.battleData:cacheLockElement(elementType, nil) self.battleData:cacheLockElement(elementType, nil)
for _, posId in ipairs(list) do for _, posId in ipairs(list) do