summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/ModHelpers
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-01-22 19:06:33 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-01-22 19:06:33 -0500
commit1670a2f3a6263da158db5231f60d42d529734209 (patch)
treefac03b7b364e53acf30eca61c476dda82ae1cc80 /src/SMAPI/Framework/ModHelpers
parent25a22f5d7c527e60919b0e08a212578a323a8165 (diff)
downloadSMAPI-1670a2f3a6263da158db5231f60d42d529734209.tar.gz
SMAPI-1670a2f3a6263da158db5231f60d42d529734209.tar.bz2
SMAPI-1670a2f3a6263da158db5231f60d42d529734209.zip
fix global data stored in saves folder
Diffstat (limited to 'src/SMAPI/Framework/ModHelpers')
-rw-r--r--src/SMAPI/Framework/ModHelpers/DataHelper.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Framework/ModHelpers/DataHelper.cs b/src/SMAPI/Framework/ModHelpers/DataHelper.cs
index 3d43c539..6cde849c 100644
--- a/src/SMAPI/Framework/ModHelpers/DataHelper.cs
+++ b/src/SMAPI/Framework/ModHelpers/DataHelper.cs
@@ -177,7 +177,7 @@ namespace StardewModdingAPI.Framework.ModHelpers
private string GetGlobalDataPath(string key)
{
this.AssertSlug(key, nameof(key));
- return Path.Combine(Constants.SavesPath, ".smapi", "mod-data", this.ModID.ToLower(), $"{key}.json".ToLower());
+ return Path.Combine(Constants.DataPath, ".smapi", "mod-data", this.ModID.ToLower(), $"{key}.json".ToLower());
}
/// <summary>Assert that a key contains only characters that are safe in all contexts.</summary>