Merge pull request #106963 from KoBeWi/a_wild_crash_has_occured

Fix `get_class_icon()` ignoring fallback
This commit is contained in:
Thaddeus Crews
2025-06-02 18:51:49 -05:00
2 changed files with 5 additions and 3 deletions

View File

@ -485,7 +485,7 @@ private:
PrintHandlerList print_handler;
HashMap<String, Ref<Texture2D>> icon_type_cache;
HashMap<String, Ref<Texture2D>> class_icon_cache;
HashMap<Pair<String, String>, Ref<Texture2D>> class_icon_cache;
ProjectUpgradeTool *project_upgrade_tool = nullptr;
bool run_project_upgrade_tool = false;