Skip to content

Commit

Permalink
ItmFreqNode.Frequency is now a float rather than a string
Browse files Browse the repository at this point in the history
  • Loading branch information
soopercool101 committed Dec 13, 2023
1 parent 5e9d53c commit d913cd1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions BrawlLib/SSBB/ResourceNodes/ItmFreqNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}
Expand Down

0 comments on commit d913cd1

Please sign in to comment.