This commit is contained in:
m 2023-05-14 03:05:42 -05:00
parent 0916d71204
commit 925e77bdd8

View File

@ -61,7 +61,7 @@ namespace script
return;
}
auto* raw_file = allocator.allocate<game::RawFile>();
auto* raw_file = allocator.allocate<game::RawFile>();
raw_file->name = allocator.duplicate_string(name); // use script name with .gsc suffix for FindXAssetHeader hook
raw_file->buffer = allocator.duplicate_string(data);
raw_file->len = static_cast<int>(data.length());