From 52e9f406aad6aacc5e9f2fcc579fc09611848385 Mon Sep 17 00:00:00 2001 From: jiaoyangna <3046463818@qq.com> Date: Thu, 29 Jul 2021 16:10:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=81=E7=BB=9D=E9=98=B5=E5=BD=93=E6=88=91?= =?UTF-8?q?=E7=9A=84=E6=8E=92=E5=90=8D=E4=B8=BA0=20=E6=97=B6=E6=8A=A5?= =?UTF-8?q?=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Guild/DeathPos/DeathPosInfoPanel.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Guild/DeathPos/DeathPosInfoPanel.lua b/Assets/ManagedResources/~Lua/Modules/Guild/DeathPos/DeathPosInfoPanel.lua index 6b1889aa12..4f4886f21b 100644 --- a/Assets/ManagedResources/~Lua/Modules/Guild/DeathPos/DeathPosInfoPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Guild/DeathPos/DeathPosInfoPanel.lua @@ -276,8 +276,8 @@ function this.RefreshRank(index) this.SetRankDataShow(ranks,myRankInfo,curRankType) this.scrollView:SetIndex(1) --当我的排名没数据时 - this.mRSortNum:SetActive(myRankInfo.rank~=-1) - if myRankInfo.rank==-1 then + this.mRSortNum:SetActive(myRankInfo.rank > 0) + if myRankInfo.rank < 1 then this.mRName.text=Language[10036] this.mRHurt.text="" return @@ -332,8 +332,8 @@ function this.SetMyRank(data,curRankType) end --设置名次 isMy 是否是设置我的名次 function this.SetRankingNum(root,rank,isMy) - if rank==-1 then - -- body + if rank < 1 then + return end local sortNumTabs={} for i = 1, 4 do