rename loading error

This commit is contained in:
altalk23 2023-02-08 21:23:34 +03:00
parent 0eb5f01ca8
commit 345625e164

View file

@ -214,7 +214,7 @@ Result<Mod*> Loader::Impl::loadModFromInfo(ModInfo const& info) {
if (!dependenciesRes) {
delete mod;
m_mods.erase(info.id());
return Err("Unable to update dependencies and load: " + dependenciesRes.unwrapErr());
return Err(dependenciesRes.unwrapErr());
}
// add mod resources