fix: move trophy pngs to src/images (#2519)

* fix: move trophy pngs to src/images

* Fix pointers to trophy files

---------

Co-authored-by: rainmakerv2 <30595646+jpau02@users.noreply.github.com>
This commit is contained in:
jarred wilson 2025-02-24 14:39:27 -06:00 committed by GitHub
parent eac1daa5f7
commit 15d10e47ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 13 additions and 18 deletions

View file

@ -33,13 +33,13 @@ TrophyUI::TrophyUI(const std::filesystem::path& trophyIconPath, const std::strin
std::string pathString;
if (trophy_type == "P") {
pathString = "Resources/platinum.png";
pathString = "src/images/platinum.png";
} else if (trophy_type == "G") {
pathString = "Resources/gold.png";
pathString = "src/images/gold.png";
} else if (trophy_type == "S") {
pathString = "Resources/silver.png";
pathString = "src/images/silver.png";
} else if (trophy_type == "B") {
pathString = "Resources/bronze.png";
pathString = "src/images/bronze.png";
}
auto resource = cmrc::res::get_filesystem();