diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-02-25 17:52:56 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-02-25 17:52:56 -0500 |
commit | ac5bcce02df70ccc8d62d4803fac9320bd65be96 (patch) | |
tree | dab891cdaf3db36435c4f3e8daaadac3b3df1e49 /src/StardewModdingAPI | |
parent | 9c53a254d50718fee3b8043bb0b8bb840557e82f (diff) | |
download | SMAPI-ac5bcce02df70ccc8d62d4803fac9320bd65be96.tar.gz SMAPI-ac5bcce02df70ccc8d62d4803fac9320bd65be96.tar.bz2 SMAPI-ac5bcce02df70ccc8d62d4803fac9320bd65be96.zip |
fix current path not being normalised in path checks (#173)
Diffstat (limited to 'src/StardewModdingAPI')
-rw-r--r-- | src/StardewModdingAPI/Framework/SContentManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/StardewModdingAPI/Framework/SContentManager.cs b/src/StardewModdingAPI/Framework/SContentManager.cs index 344d3ed9..2781bec4 100644 --- a/src/StardewModdingAPI/Framework/SContentManager.cs +++ b/src/StardewModdingAPI/Framework/SContentManager.cs @@ -80,7 +80,7 @@ namespace StardewModdingAPI.Framework // intercept load T data = base.Load<T>(assetName); - IContentEventHelper helper = new ContentEventHelper(assetName, data, this.NormaliseAssetKey); + IContentEventHelper helper = new ContentEventHelper(key, data, this.NormaliseAssetKey); ContentEvents.InvokeAssetLoading(this.Monitor, helper); this.Cache[key] = helper.Data; return (T)helper.Data; |