From 7c5a57323ec73e900345c26eee243952f897f02e Mon Sep 17 00:00:00 2001 From: xiekaidong Date: Thu, 26 Oct 2023 10:38:35 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/module/battle/controller/battle_base_controller.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/app/module/battle/controller/battle_base_controller.lua b/lua/app/module/battle/controller/battle_base_controller.lua index a4535af4..74bb7e5c 100644 --- a/lua/app/module/battle/controller/battle_base_controller.lua +++ b/lua/app/module/battle/controller/battle_base_controller.lua @@ -1995,6 +1995,7 @@ function BattleBaseController:lockElement(lcokElementType, isUnlock) end if isUnlock then + self.battleData:cacheLockElement(lcokElementType, nil) for elementType, list in pairs(self.lockElementMap) do self.battleData:cacheLockElement(elementType, nil) for _, posId in ipairs(list) do