[keel] Make reloadAsset check if file is loaded

This commit is contained in:
Gary Talent 2025-01-27 21:59:57 -06:00
parent 95256a9a0d
commit eaa9a2415e

View File

@ -295,7 +295,9 @@ class AssetManager {
}
ox::Error reloadAsset(ox::StringViewCR assetId) noexcept {
if (m_fileUpdated.contains(assetId)) {
m_fileUpdated[assetId]->emit(assetId);
}
return {};
}