少年修仙传客户端代码仓库
client_linchunjie
2019-04-17 a756f262cb06c1c185fc0f648ccaf19e233eca14
System/ItemTip/TipGemInfoWidget.cs
@@ -20,7 +20,7 @@
            {
                var behaviour = m_GemBehaviours[i];
                var active = gemInfo.activeStates.ContainsKey(i) ? gemInfo.activeStates[i] : false;
                var gem = gemInfo.gems.ContainsKey(i) ? gemInfo.gems[i] : 0;
                var gem = (gemInfo.gems != null && gemInfo.gems.ContainsKey(i)) ? gemInfo.gems[i] : 0;
                behaviour.Display(active, gem);
            }
        }
@@ -70,7 +70,7 @@
                        for (int i = 0; i < properties.Count; i++)
                        {
                            var property = properties[i];
                            lines[i] =PlayerPropertyConfig.GetFullDescription(property.x, property.y);
                            lines[i] = PlayerPropertyConfig.GetFullDescription(property.x, property.y);
                        }
                        propertyBehaviour.text = string.Join("\r\n", lines);