diff --git a/src/client/component/script.cpp b/src/client/component/script.cpp index ade06be1..6be36484 100644 --- a/src/client/component/script.cpp +++ b/src/client/component/script.cpp @@ -60,8 +60,8 @@ namespace script printf("Not loading GSC script '%s' due to invalid name.\n", name.data()); return; } - - auto* raw_file = allocator.allocate(); + + auto* raw_file = allocator.allocate(); 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(data.length());