diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-10-27 01:00:03 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-10-27 01:00:03 -0400 |
commit | a7fcfd642466b22abdc32a1f71a93e77fb8e569b (patch) | |
tree | b35ba337f1d3d482673d6bab4905a34059e92906 /src | |
parent | a1eeece49b937c942e2cc002bd1863295d943fde (diff) | |
download | SMAPI-a7fcfd642466b22abdc32a1f71a93e77fb8e569b.tar.gz SMAPI-a7fcfd642466b22abdc32a1f71a93e77fb8e569b.tar.bz2 SMAPI-a7fcfd642466b22abdc32a1f71a93e77fb8e569b.zip |
fix incorrect search path when loading a mod file (#373)
Diffstat (limited to 'src')
-rw-r--r-- | src/SMAPI/Framework/SContentManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Framework/SContentManager.cs b/src/SMAPI/Framework/SContentManager.cs index 10d854d9..54ebba83 100644 --- a/src/SMAPI/Framework/SContentManager.cs +++ b/src/SMAPI/Framework/SContentManager.cs @@ -531,7 +531,7 @@ namespace StardewModdingAPI.Framework // try with default extension if (!file.Exists && file.Extension.ToLower() != ".xnb") { - FileInfo result = new FileInfo(path + ".xnb"); + FileInfo result = new FileInfo(file.FullName + ".xnb"); if (result.Exists) file = result; } |