use correct asset for fastfile lookup
This commit is contained in:
parent
50c91f555d
commit
9f988288cc
@ -195,7 +195,7 @@ namespace gsc
|
|||||||
|
|
||||||
fastfiles::enum_assets(game::ASSET_TYPE_RAWFILE, [](game::XAssetHeader header)
|
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/"))
|
if (name.ends_with(".gsc") && name.starts_with("scripts/"))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user