Implement util function for merging 2 tables
This commit is contained in:
parent
52aea868a5
commit
fd3df487e5
@ -36,6 +36,12 @@ function industrialtest.internal.clamp(num,min,max)
|
||||
return math.max(math.min(num,max),min)
|
||||
end
|
||||
|
||||
function industrialtest.internal.unpackTableInto(first,second)
|
||||
for k,v in pairs(second) do
|
||||
first[k]=v
|
||||
end
|
||||
end
|
||||
|
||||
-- \brief Returns machine speed in items per operation
|
||||
-- \param meta MetaDataRef
|
||||
-- \returns number
|
||||
|
Loading…
Reference in New Issue
Block a user