copy groups before passing them

This commit is contained in:
BuckarooBanzay 2024-01-29 17:29:47 +01:00
parent 89876b23e7
commit f1c0d74503

View File

@ -622,7 +622,7 @@ for name, def in pairs(nodes) do
slats.register_slat( slats.register_slat(
name, name,
"scifi_nodes:" .. name, "scifi_nodes:" .. name,
node_def.groups, table.copy(node_def.groups),
"scifi_nodes_" .. name .. ".png^slats_slat_overlay.png^[makealpha:255,126,126", "scifi_nodes_" .. name .. ".png^slats_slat_overlay.png^[makealpha:255,126,126",
def.description .. " Slat", def.description .. " Slat",
sounds sounds