1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-10-17 05:46:37 +00:00

add warning if id of quickkey is non-existent

This commit is contained in:
Kuyondo 2025-08-14 19:39:33 +08:00
parent e226963d0d
commit bc2f948abe

View file

@ -667,6 +667,9 @@ namespace MWGui
mTemp.emplace_back(*MWBase::Environment::get().getESMStore(), quickKey.mId, 0);
assign(quickKey.mType, mTemp.back().getPtr());
}
else
Log(Debug::Warning) << "Failed to load quick key " << (i + 1)
<< ": could not find object " << quickKey.mId;
}
}
else