From 9f988288cc3b3dfd91e7aecadee8da7a99fd16d9 Mon Sep 17 00:00:00 2001 From: Edo Date: Mon, 12 Sep 2022 18:10:46 +0200 Subject: [PATCH] use correct asset for fastfile lookup --- src/client/component/gsc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/component/gsc.cpp b/src/client/component/gsc.cpp index 4bd5fa32..41dcaa94 100644 --- a/src/client/component/gsc.cpp +++ b/src/client/component/gsc.cpp @@ -195,7 +195,7 @@ namespace gsc fastfiles::enum_assets(game::ASSET_TYPE_RAWFILE, [](game::XAssetHeader header) { - std::string name = header.scriptfile->name; + std::string name = header.rawfile->name; if (name.ends_with(".gsc") && name.starts_with("scripts/")) {