From d913cd1692d014591c0de38b87428168392512b3 Mon Sep 17 00:00:00 2001 From: soopercool101 Date: Tue, 12 Dec 2023 21:49:09 -0700 Subject: [PATCH] ItmFreqNode.Frequency is now a float rather than a string --- BrawlLib/SSBB/ResourceNodes/ItmFreqNode.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BrawlLib/SSBB/ResourceNodes/ItmFreqNode.cs b/BrawlLib/SSBB/ResourceNodes/ItmFreqNode.cs index b3f886698..a815902ff 100644 --- a/BrawlLib/SSBB/ResourceNodes/ItmFreqNode.cs +++ b/BrawlLib/SSBB/ResourceNodes/ItmFreqNode.cs @@ -380,12 +380,12 @@ public int SubID [DisplayName("Frequency")] [Category("Item Frequency")] [Description("The spawn frequency of the selected item. Higher values mean a higher spawn rate.")] - public string Frequency + public float Frequency { - get => _frequency.ToString("0.00"); + get => _frequency; set { - _frequency = float.Parse(value); + _frequency = value; SignalPropertyChange(); } }