diff --git a/src/ressys/ResourceManager.inl b/src/ressys/ResourceManager.inl index 8c6c834..f1a2c9b 100644 --- a/src/ressys/ResourceManager.inl +++ b/src/ressys/ResourceManager.inl @@ -116,8 +116,7 @@ typename ResourceManager::Ptr ResourceManager::get( auto result = tryGet(name); if (!result) LOG_THROW(jd::ResourceError("resource \"" + name + "\" is not loaded")); - else - return result; + return result; } template