Skip to content

Commit

Permalink
removed logs
Browse files Browse the repository at this point in the history
  • Loading branch information
misternebula committed Mar 20, 2024
1 parent 74dae7b commit 6987ceb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/OWML.ModHelper.Menus/NewMenuSystem/MenuManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,6 @@ void SaveConfig()
settingSlider.ModSettingKey = name;
settingSlider.OnValueChanged += (float newValue) =>
{
_console.WriteLine($"changed to {newValue}");
mod.ModHelper.Config.SetSettingsValue(name, newValue);
mod.ModHelper.Storage.Save(mod.ModHelper.Config, Constants.ModConfigFileName);
mod.Configure(mod.ModHelper.Config);
Expand All @@ -270,7 +269,6 @@ void SaveConfig()
textInput.OnConfirmEntry += () =>
{
var newValue = textInput.GetInputText();
_console.WriteLine($"changed to {newValue}");
mod.ModHelper.Config.SetSettingsValue(name, newValue);
mod.ModHelper.Storage.Save(mod.ModHelper.Config, Constants.ModConfigFileName);
mod.Configure(mod.ModHelper.Config);
Expand All @@ -283,7 +281,6 @@ void SaveConfig()
numberInput.OnConfirmEntry += () =>
{
var newValue = double.Parse(numberInput.GetInputText());
_console.WriteLine($"changed to {newValue}");
mod.ModHelper.Config.SetSettingsValue(name, newValue);
mod.ModHelper.Storage.Save(mod.ModHelper.Config, Constants.ModConfigFileName);
mod.Configure(mod.ModHelper.Config);
Expand Down

0 comments on commit 6987ceb

Please sign in to comment.