summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI/Framework')
-rw-r--r--src/SMAPI/Framework/SContentManager.cs2
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;
}