【御剑行】红点提交

dev_chengFeng
ZhangBiao 2021-10-22 14:48:56 +08:00
parent befea57bbc
commit 0d94f23e41
2 changed files with 5 additions and 1 deletions

View File

@ -136,7 +136,7 @@ end
function this.CheckRedPoint()
local state1 = false
local state2 = false
if (configData.JoinCount - this.joinCount > 0) and (#this.curBetList < 2) then
if (configData.JoinCount - this.joinCount > 0) and (#this.curBetList < 2) and (YuJianXingManager.curState == 1) then
state1 = true
end
for i = 1, #this.curRecordList do

View File

@ -54,6 +54,10 @@ function YuJianXingPanel:BindEvent()
PopupTipPanel.ShowTip("比赛进行中,不可竞猜!")
return
end
if YuJianXingManager.curState == 2 then
PopupTipPanel.ShowTip("赛季已结束!")
return
end
UIManager.OpenPanel(UIName.GeneralBigPopup,GENERAL_POPUP_TYPE.YuJianBet)
end)