diff --git a/lua/app/ui/battle/battle_base_ui.lua b/lua/app/ui/battle/battle_base_ui.lua index 9cc69683..cf263b06 100644 --- a/lua/app/ui/battle/battle_base_ui.lua +++ b/lua/app/ui/battle/battle_base_ui.lua @@ -2523,6 +2523,9 @@ function BattleBaseUI:clear() if self.gridEdgeNode then self.gridEdgeNode:removeAllChildren() end + if self.mapNode then + self.mapNode:removeAllChildren() + end if self.hpProgressYellowLeftSid then self:unscheduleGlobal(self.hpProgressYellowLeftSid) self.hpProgressYellowLeftSid = nil