From 540eb7d6cd9bb438f8744b98d97c7b6a65b7e753 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期二, 21 五月 2019 17:15:11 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
System/RoleParticulars/ViewFuncCell.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/System/RoleParticulars/ViewFuncCell.cs b/System/RoleParticulars/ViewFuncCell.cs
index 6f6ff48..0c8b7c2 100644
--- a/System/RoleParticulars/ViewFuncCell.cs
+++ b/System/RoleParticulars/ViewFuncCell.cs
@@ -183,7 +183,7 @@
case FuncPowerType.Realm:
handled = true;
var realmConfig = RealmConfig.Get(PlayerDatas.Instance.baseData.realmLevel);
- if (realmConfig != null)
+ if (PlayerDatas.Instance.baseData.realmLevel > 0 && realmConfig != null)
{
m_MyRealmIcon.gameObject.SetActive(true);
m_MyRealmIcon.SetSprite(realmConfig.Img);
@@ -191,7 +191,7 @@
m_MyDescs[0].text = config.compareTip[0];
}
realmConfig = RealmConfig.Get(otherPlayerInfo.rolePropData.RealmLV);
- if (realmConfig != null)
+ if (otherPlayerInfo.rolePropData.RealmLV > 0 && realmConfig != null)
{
m_CompareRealmIcon.gameObject.SetActive(true);
m_CompareRealmIcon.SetSprite(realmConfig.Img);
--
Gitblit v1.8.0