summaryrefslogtreecommitdiff
path: root/StardewModdingAPI
diff options
context:
space:
mode:
authorZoryn Aaron <zoryn4163@gmail.com>2016-03-22 16:38:16 -0400
committerZoryn Aaron <zoryn4163@gmail.com>2016-03-22 16:38:16 -0400
commit9dc48de3e118c999dfd9a3fd88345c332dcf7b33 (patch)
treee0450cfa862c080c1ad409d868c76b105af45ee4 /StardewModdingAPI
parent0cc1d227b51d8f620ca36c47baefaf9ca6627de9 (diff)
downloadSMAPI-9dc48de3e118c999dfd9a3fd88345c332dcf7b33.tar.gz
SMAPI-9dc48de3e118c999dfd9a3fd88345c332dcf7b33.tar.bz2
SMAPI-9dc48de3e118c999dfd9a3fd88345c332dcf7b33.zip
update config to fix array merging
Diffstat (limited to 'StardewModdingAPI')
-rw-r--r--StardewModdingAPI/Config.cs2
-rw-r--r--StardewModdingAPI/Constants.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/StardewModdingAPI/Config.cs b/StardewModdingAPI/Config.cs
index 67c13a14..84119179 100644
--- a/StardewModdingAPI/Config.cs
+++ b/StardewModdingAPI/Config.cs
@@ -89,7 +89,7 @@ namespace StardewModdingAPI
//user config with their values
var u = baseConfig.JObject;
- b.Merge(u);
+ b.Merge(u, new JsonMergeSettings { MergeArrayHandling = MergeArrayHandling.Replace });
return (Config)b.ToObject(baseConfig.GetType());
}
diff --git a/StardewModdingAPI/Constants.cs b/StardewModdingAPI/Constants.cs
index fa117ece..d3e53c05 100644
--- a/StardewModdingAPI/Constants.cs
+++ b/StardewModdingAPI/Constants.cs
@@ -35,7 +35,7 @@ namespace StardewModdingAPI
public const int MinorVersion = 38;
- public const int PatchVersion = 4;
+ public const int PatchVersion = 5;
public const string Build = "Alpha";