From 1fa9ba80504ecce473d0aa1f3513b9cc026f5b6d Mon Sep 17 00:00:00 2001 From: wangzhenxing Date: Wed, 22 Mar 2023 18:26:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=9A=E9=98=9F=E5=A1=94=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E7=95=8C=E9=9D=A2=E6=8C=91=E6=88=98=E6=B7=BB=E5=8A=A0=E9=99=90?= =?UTF-8?q?=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/WorldArena/GodsWayOtherTeamPanel.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Assets/ManagedResources/~Lua/Modules/WorldArena/GodsWayOtherTeamPanel.lua b/Assets/ManagedResources/~Lua/Modules/WorldArena/GodsWayOtherTeamPanel.lua index 5d3823c578..6a03043232 100644 --- a/Assets/ManagedResources/~Lua/Modules/WorldArena/GodsWayOtherTeamPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/WorldArena/GodsWayOtherTeamPanel.lua @@ -162,6 +162,8 @@ end --界面打开或者重新打开后,界面刷新时调用(用于子类重写) function GodsWayOtherTeamPanel:OnShow() + local curFloor=GodsWayTowerManager.GetTowerFloorByType(type) + self.btnChallenge:SetActive(curFloor+1==floor) LogError("floor==="..floor) self.titleTxt.text="第"..floor.."层" local towers=ConfigManager.TryGetAllConfigsDataByDoubleKey(ConfigName.DuoDuiTower,"Type",type,"TowerNumber",floor)