[olympic] Change readClaw to take ref to TypeStore

This commit is contained in:
2023-12-14 23:56:14 -06:00
parent 8b3b8d50d6
commit 4b824ddef4
5 changed files with 5 additions and 5 deletions

View File

@ -133,7 +133,7 @@ template<typename T>
ox::Result<T> Project::loadObj(ox::CRStringView path) const noexcept {
oxRequire(buff, loadBuff(path));
if constexpr(ox::is_same_v<T, ox::ModelObject>) {
return keel::readAsset(&m_typeStore, buff);
return keel::readAsset(m_typeStore, buff);
} else {
return keel::readAsset<T>(buff);
}