diff --git a/src/olympic/keel/include/keel/asset.hpp b/src/olympic/keel/include/keel/asset.hpp index 7142f660..7639a37a 100644 --- a/src/olympic/keel/include/keel/asset.hpp +++ b/src/olympic/keel/include/keel/asset.hpp @@ -30,7 +30,8 @@ ox::Result readAsset(ox::BufferView buff) noexcept { } auto out = ox::readClaw(buff + offset); oxReturnError(out); - return ensureValid(out.value); + oxReturnError(ensureValid(out.value)); + return out; } ox::Result readAsset(ox::TypeStore &ts, ox::BufferView buff) noexcept;