From 40e4b97b2c193cd4e49e4d2cb7b8d59534ada5c1 Mon Sep 17 00:00:00 2001
From: client_Zxw <826696702@qq.com>
Date: 星期五, 11 一月 2019 14:26:36 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

---
 System/Treasure/FunctionUnlockFlyObject.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/System/Treasure/FunctionUnlockFlyObject.cs b/System/Treasure/FunctionUnlockFlyObject.cs
index 701b902..1bb25b8 100644
--- a/System/Treasure/FunctionUnlockFlyObject.cs
+++ b/System/Treasure/FunctionUnlockFlyObject.cs
@@ -110,7 +110,8 @@
         {
             m_UnLockType = FunctionUnlockType.GodWeaponEffect;
             m_Id = config.level;
-            m_FunctionIcon.SetSprite(config.icon);
+            var _model = ModelCenter.Instance.GetModel<MagicianModel>();
+            m_FunctionIcon.SetSprite(_model.GetEffectSkillIcon(config.type, config.level));
             originalScale = 1f;
 
             this.transform.localScale = Vector3.one * originalScale;

--
Gitblit v1.8.0