diff --git a/CHANGELOGS.md b/CHANGELOGS.md index c185562..e9b86f4 100644 --- a/CHANGELOGS.md +++ b/CHANGELOGS.md @@ -3,5 +3,8 @@ This file will contain each version of the mod published, along with all of the --- +## V1.0.1 +- Fixed a bug where atlases could include the .rawimg file extension in their registered texture paths. + ## V1.0.0 Initial mod release! Find a list of the features in the base README.md and check out the (currently limited) documentation alongside the implementations of them. diff --git a/Core/Graphics/Atlases/AtlasManager.cs b/Core/Graphics/Atlases/AtlasManager.cs index b904edc..28d3ad2 100644 --- a/Core/Graphics/Atlases/AtlasManager.cs +++ b/Core/Graphics/Atlases/AtlasManager.cs @@ -129,7 +129,7 @@ internal static void InitializeModAtlases(Mod mod) { string assetFilepath = $"{mod.Name}/" + path; string filename = Path.GetFileNameWithoutExtension(assetFilepath); - string formattedAtlasPath = assetFilepath.Replace(".json", string.Empty).Replace(".xnb", string.Empty); + string formattedAtlasPath = assetFilepath.Replace(".json", string.Empty).Replace(".xnb", string.Empty).Replace(".rawimg", string.Empty); if (!AtlasIsRegistered(filename)) RegisterAtlas(mod, filename, formattedAtlasPath); diff --git a/build.txt b/build.txt index 9c2de54..20253f4 100644 --- a/build.txt +++ b/build.txt @@ -1,6 +1,6 @@ displayName = Luminance author = Dominic Karma, Toasty -version = 1.0.0 +version = 1.0.1 homepage = https://github.com/DominicKarma/Luminance buildIgnore = .vs\*, Properties\*, *.csproj, *.user, obj\*, bin\*, *.config, .git\*, .github\*, LICENSE, README.md, .editorconfig, .gitignore, .gitattributes, TODO.md hideCode = false