1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 16:24:35 +01:00

Remove 13k dynamic initializer by changing SpriteGroupNames type

This commit is contained in:
ζeh Matt
2023-11-25 16:22:45 +02:00
parent efea009ed5
commit 62c0bc2cf5
2 changed files with 2 additions and 2 deletions

View File

@@ -342,7 +342,7 @@ namespace OpenRCT2::Scripting
{
auto group = entry->SpriteGroups[g];
if (group.Enabled())
groups.Set(SpriteGroupNames[g].c_str(), ToDuk<VehicleSpriteGroup>(ctx, group));
groups.Set(SpriteGroupNames[g], ToDuk<VehicleSpriteGroup>(ctx, group));
}
}
return groups.Take();