CraftSystem: change table.merge -> table.join

This commit is contained in:
Van
2026-04-03 19:26:16 +03:00
parent 89de48b5a8
commit 0e59cf799a

View File

@@ -1,6 +1,6 @@
local extend = Class.extend
local tableInsert, tableSort, tableMerge = table.insert, table.sort, table.merge
local tableInsert, tableSort, tableJoin = table.insert, table.sort, table.join
local modInfo = Mod.getInfo('smc__core__craft_system')
local require = modInfo.require
@@ -53,8 +53,7 @@ core.register_on_mods_loaded(function()
if groupName ~= 'craft_group:UNDEFINED' then
tableInsert(PrimitiveCraftHandler.groupedCrafts, crafts)
else
-- TODO: поменять Merge на Join
PrimitiveCraftHandler.groupedCrafts = tableMerge(PrimitiveCraftHandler.groupedCrafts, crafts, false)
PrimitiveCraftHandler.groupedCrafts = tableJoin(PrimitiveCraftHandler.groupedCrafts, crafts, false)
end
end