diff --git a/dll/steam_ugc.cpp b/dll/steam_ugc.cpp index 2e6c7cbd..0f45df63 100644 --- a/dll/steam_ugc.cpp +++ b/dll/steam_ugc.cpp @@ -51,7 +51,7 @@ std::optional Steam_UGC::get_query_ugc(UGCQueryHandle_t handle, uint3 std::vector Steam_UGC::get_query_ugc_tags(UGCQueryHandle_t handle, uint32 index) { auto res = get_query_ugc(handle, index); - if (!res.has_value()) return std::nullopt; + if (!res.has_value()) return {}; std::string tmp = res.value().tags;