【跳转】锻器阁页签顺序修改导致判断错误
parent
52bdc56af4
commit
e97ab8fa84
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue