From 4a204eaba239bdb8fea8f0feaf4cd7a999b0de07 Mon Sep 17 00:00:00 2001 From: jiaoyangna <3046463818@qq.com> Date: Mon, 31 May 2021 14:22:40 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=97=A0=E5=B0=BD=E5=89=AF=E6=9C=AC?= =?UTF-8?q?=E3=80=91=E5=9C=A8=E7=A7=98=E5=AE=9D=E7=95=8C=E9=9D=A2=EF=BC=8C?= =?UTF-8?q?=E5=88=B7=E6=96=B0=E6=97=A0=E5=B0=BD=E5=89=AF=E6=9C=AC=EF=BC=8C?= =?UTF-8?q?=E7=A7=98=E5=AE=9D=E7=95=8C=E9=9D=A2=E4=B8=8D=E5=85=B3=E9=97=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Map/View/EndLessMapView.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Assets/ManagedResources/~Lua/Modules/Map/View/EndLessMapView.lua b/Assets/ManagedResources/~Lua/Modules/Map/View/EndLessMapView.lua index 419c2e8d5c..a9aa8ba89a 100644 --- a/Assets/ManagedResources/~Lua/Modules/Map/View/EndLessMapView.lua +++ b/Assets/ManagedResources/~Lua/Modules/Map/View/EndLessMapView.lua @@ -753,6 +753,19 @@ function EndLessMapView:OnClose() this.timer:Stop() this.timer = nil end + + if UIManager.IsOpen(UIName.GeneralBigPopup) then + UIManager.ClosePanel(UIName.GeneralBigPopup) + end + if UIManager.IsOpen(UIName.GeneralPopup) then + UIManager.ClosePanel(UIName.GeneralPopup) + end + if UIManager.IsOpen(UIName.TrialRewardPopup) then + UIManager.ClosePanel(UIName.TrialRewardPopup) + end + if UIManager.IsOpen(UIName.EndLessTreasurePanel) then + UIManager.ClosePanel(UIName.EndLessTreasurePanel) + end end function EndLessMapView:OnDestroy()