Merge pull request #331 from diamante0018/develop

use correct asset for fastfile lookup
This commit is contained in:
fed 2022-09-12 20:24:51 +00:00 committed by GitHub
commit 1ff40b00f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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/"))
{