Skip to content

Commit

Permalink
Fix small but nasty bug in Settings saving
Browse files Browse the repository at this point in the history
  • Loading branch information
GlitchyPSIX committed Feb 11, 2021
1 parent 4e0db54 commit d4f3f01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion M64MM.Utils/Settings/SettingsGroup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public class SettingsGroup
{
// Expose the otherwise private entries property so the JSON parser can write and read.
[JsonProperty(PropertyName = "settings")]
static Dictionary<string, object> entries = null;
Dictionary<string, object> entries = null;

/// <summary>
/// Constructor for a Settings Group
Expand Down
2 changes: 1 addition & 1 deletion M64MM.Utils/Settings/SettingsManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public static SettingsGroup GetSettingsGroup(string key, bool ensure = false)
{
if (_settings.ContainsKey(key))
{
return _settings[key];
return _settings[key];
}
else
{
Expand Down

0 comments on commit d4f3f01

Please sign in to comment.