diff --git a/src/nostalgia/core/assetmanager.hpp b/src/nostalgia/core/assetmanager.hpp index 1bed2475..59c3cbc3 100644 --- a/src/nostalgia/core/assetmanager.hpp +++ b/src/nostalgia/core/assetmanager.hpp @@ -189,7 +189,7 @@ class AssetManager { ox::Result> getAsset(const ox::String &path) const noexcept { auto out = m_cache.at(path); oxReturnError(out); - return AssetRef(out.value.get()); + return AssetRef(out.value->get()); } ox::Result> setAsset(const ox::String &path, const T &obj) noexcept {