Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
## Fixed
* Fixed a bug where HUDReplacer would not replace any textures if there were
zero scene-specific replacements or zero general replacements.

## 1.3.2
### Fixed
* Fixed a bug where a replacement with an explicitly specified size would not
Expand Down
9 changes: 3 additions & 6 deletions src/HUDReplacer/HUDReplacer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,9 @@ public void Awake()
if (Images is null)
LoadTextures();

if (Images.Count != 0 && SceneImages.Count != 0)
{
Debug.Log("HUDReplacer: Replacing textures...");
ReplaceTextures();
Debug.Log("HUDReplacer: Textures have been replaced!");
}
Debug.Log("HUDReplacer: Replacing textures...");
ReplaceTextures();
Debug.Log("HUDReplacer: Textures have been replaced!");

LoadHUDColors();
}
Expand Down