mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-19 15:51:48 +00:00
Fix error from float data in ModdedStringOption.cs
This commit is contained in:
1 parent
8774c9da70
commit
c29e882d7e
1 file changed
+1
-1
@@ -139,7 +139,7 @@ public class ModdedStringOption : ModdedOption<string>
|
||||
/// <inheritdoc />
|
||||
public override float GetFloatData()
|
||||
{
|
||||
return Convert.ToSingle(Value, NumberFormatInfo.InvariantInfo);
|
||||
return Values.IndexOf(Value);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
|
||||
Reference in new issue
Block a user