竞技场引导容错

This commit is contained in:
xiekaidong 2023-07-10 14:12:53 +08:00
parent 460a60a34f
commit 351b8adb9e

View File

@ -94,6 +94,11 @@ function ArenaMatchUI:onLoadRootComplete()
self.btnFormation = uiMap["arena_match_ui.match_result.btn_formation"]
self.txFormation = uiMap["arena_match_ui.match_result.btn_formation.tx_formation"]
if DataManager.TutorialData:getIsInTutorial() then -- 容错
self.btnCancel:setTouchEnable(false)
else
self.btnCancel:setTouchEnable(true)
end
self.btnCancel:addClickListener(function()
self:closeUI()
end)