diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-04-22 22:06:02 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-04-22 22:06:02 -0400 |
commit | e22a54212182d0adc443ac95bc791e83c90f7e10 (patch) | |
tree | 14e240470817445a5098d6577a46832f6f7511ec /src/SMAPI/Framework/ModHelpers | |
parent | 013255d89e1a802e05f9fd61a16701ca73fa4411 (diff) | |
parent | 98f58c353e3488ddb87979d406fbfcbe3d3ddb8f (diff) | |
download | SMAPI-e22a54212182d0adc443ac95bc791e83c90f7e10.tar.gz SMAPI-e22a54212182d0adc443ac95bc791e83c90f7e10.tar.bz2 SMAPI-e22a54212182d0adc443ac95bc791e83c90f7e10.zip |
Merge branch 'develop' into stable
Diffstat (limited to 'src/SMAPI/Framework/ModHelpers')
-rw-r--r-- | src/SMAPI/Framework/ModHelpers/ContentHelper.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Framework/ModHelpers/ContentHelper.cs b/src/SMAPI/Framework/ModHelpers/ContentHelper.cs index 7c353003..8b86fdeb 100644 --- a/src/SMAPI/Framework/ModHelpers/ContentHelper.cs +++ b/src/SMAPI/Framework/ModHelpers/ContentHelper.cs @@ -316,7 +316,7 @@ namespace StardewModdingAPI.Framework.ModHelpers // check relative to content folder { - foreach (string candidateKey in new[] { imageSource, $@"Maps\{imageSource}" }) + foreach (string candidateKey in new[] { imageSource, Path.Combine("Maps", imageSource) }) { string contentKey = candidateKey.EndsWith(".png") ? candidateKey.Substring(0, candidateKey.Length - 4) |