From 9bb0d1d40b0a15b7bd388f63e4e074a68a7f810a Mon Sep 17 00:00:00 2001 From: Not Officer Date: Wed, 3 Nov 2021 22:24:26 +0100 Subject: [PATCH] fix --- CUE4Parse | 2 +- FModel/Creator/Bases/FN/BaseIconStats.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CUE4Parse b/CUE4Parse index 781093c9..5bf07f46 160000 --- a/CUE4Parse +++ b/CUE4Parse @@ -1 +1 @@ -Subproject commit 781093c97911966884e389b6899b81cc6b50e1b9 +Subproject commit 5bf07f46d0a5c57eaeeb06d4afe749e11295eb69 diff --git a/FModel/Creator/Bases/FN/BaseIconStats.cs b/FModel/Creator/Bases/FN/BaseIconStats.cs index 682f97d0..ca77ac62 100644 --- a/FModel/Creator/Bases/FN/BaseIconStats.cs +++ b/FModel/Creator/Bases/FN/BaseIconStats.cs @@ -145,7 +145,7 @@ namespace FModel.Creator.Bases.FN curveTable.TryGetCurveTableRow(rowName.Text, StringComparison.OrdinalIgnoreCase, out var rowValue) && rowValue.TryGetValue(out FSimpleCurveKey[] keys, "Keys") && keys.Length > 0) { - statValue = keys[0].KeyValue; + statValue = keys[0].Value; return true; } @@ -278,4 +278,4 @@ namespace FModel.Creator.Bases.FN c.DrawRect(new SKRect(height * 2, y, Math.Min(height * 2 + sliderWidth, sliderRight), y + 5), _statPaint); } } -} \ No newline at end of file +}