diff --git a/BetterMenus/Blueprints/FloatInputField.cs b/BetterMenus/Blueprints/FloatInputField.cs index 8844205..72afd21 100644 --- a/BetterMenus/Blueprints/FloatInputField.cs +++ b/BetterMenus/Blueprints/FloatInputField.cs @@ -29,7 +29,6 @@ public static InputField FloatInputField(string name, Action _storeValue, } else { - _storeValue(_defaultValue); if (s != string.Empty) { Satchel.Instance.LogWarn($"Inputted value {s} is not a valid float in {name} input field"); diff --git a/BetterMenus/Blueprints/IntInputField.cs b/BetterMenus/Blueprints/IntInputField.cs index 86c0f6d..c0b21e0 100644 --- a/BetterMenus/Blueprints/IntInputField.cs +++ b/BetterMenus/Blueprints/IntInputField.cs @@ -29,11 +29,7 @@ public static InputField IntInputField(string name, Action _storeValue, Fun } else { - if (s == string.Empty) - { - _storeValue(_defaultValue); - } - else + if (s != string.Empty) { Satchel.Instance.LogWarn($"Inputted value {s} is not a valid integer in {name} input field"); } diff --git a/Utils/AssemblyUtils.cs b/Utils/AssemblyUtils.cs index cd3309d..085f3e5 100644 --- a/Utils/AssemblyUtils.cs +++ b/Utils/AssemblyUtils.cs @@ -15,7 +15,7 @@ public static class AssemblyUtils{ /// /// Version of this Assembly /// - public static string ver = "0.8.9"; + public static string ver = "0.8.10"; /// /// Gets Version string ///