Skip to content

Commit

Permalink
ALTV-545 make name optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Doxoh committed Dec 26, 2024
1 parent 6e27706 commit b4e049d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c-api/core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ alt::IVirtualEntity* Core_CreateVirtualEntity(alt::ICore* core, alt::IVirtualEnt

alt::IVirtualEntityGroup* Core_CreateVirtualEntityGroup(alt::ICore* core, const char* name, uint32_t maxEntitiesInStream, uint32_t &id)
{
auto virtualEntityGroup = core->CreateVirtualEntityGroup(name, maxEntitiesInStream);
auto virtualEntityGroup = core->CreateVirtualEntityGroup(maxEntitiesInStream, name);
if (virtualEntityGroup != nullptr) {
id = virtualEntityGroup->GetID();
}
Expand Down

0 comments on commit b4e049d

Please sign in to comment.