diff --git a/Assets/ManagedResources/~Lua/Modules/JumpServer/JumpServerPanel.lua b/Assets/ManagedResources/~Lua/Modules/JumpServer/JumpServerPanel.lua index db0325c326..a95a02687c 100644 --- a/Assets/ManagedResources/~Lua/Modules/JumpServer/JumpServerPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/JumpServer/JumpServerPanel.lua @@ -180,6 +180,7 @@ function this.SystemState(id,fun) fun() fun = nil end + return end local conFigWorldLevel = ConfigManager.GetConfigData(ConfigName.MServerArenaSetting,1).WorldLevel if PlayerManager.worldLeve < conFigWorldLevel then --如果世界等级不足 @@ -189,6 +190,7 @@ function this.SystemState(id,fun) fun() fun = nil end + return end if ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.JumpServer_HightLadder) == false then --如果未解锁 state = -3 @@ -197,6 +199,7 @@ function this.SystemState(id,fun) fun() fun = nil end + return end JumpServerManager.GetWorldArenaInfoRequest(function() @@ -207,6 +210,7 @@ function this.SystemState(id,fun) fun() fun = nil end + return elseif not JumpServerManager.GetHightLadderDataIsGroup() then state = -5 tipStr = "未划分跨服分组,无法参与!" @@ -214,6 +218,7 @@ function this.SystemState(id,fun) fun() fun = nil end + return else state = 1 tipStr = "" @@ -221,6 +226,7 @@ function this.SystemState(id,fun) fun() fun = nil end + return end end) else