【跳转】锻器阁页签顺序修改导致判断错误

gaoxin 2022-03-11 17:34:15 +08:00
parent 52bdc56af4
commit e97ab8fa84
1 changed files with 7 additions and 7 deletions

View File

@ -495,18 +495,18 @@ local jumpDic = {
if data then index = data[2] end
local ConfigData = ConfigManager.GetConfig(ConfigName.SpecialConfig)
if index == 2 then
local string = ConfigData[40].Value
local num = string.split(string.split(string,"|")[1],"#")[2]
if PlayerManager.level < tonumber(num) then
PopupTipPanel.ShowTip(string.format(Language[10770],num))
local string = ConfigData[89].Value
if PlayerManager.level < tonumber(string) then
PopupTipPanel.ShowTip(string.format(Language[10770],string))
this.isOpen = false
return
end
end
if index == 3 then
local string = ConfigData[89].Value
if PlayerManager.level < tonumber(string) then
PopupTipPanel.ShowTip(string.format(Language[10770],string))
local string = ConfigData[40].Value
local num = string.split(string.split(string,"|")[1],"#")[2]
if PlayerManager.level < tonumber(num) then
PopupTipPanel.ShowTip(string.format(Language[10770],num))
this.isOpen = false
return
end