mirror of
https://github.com/Keyslam-Group/Concord.git
synced 2025-09-02 12:24:11 -04:00
Add optional optimization for worlds and systems
This commit is contained in:
parent
56b5244541
commit
6aeb91d984
4 changed files with 58 additions and 57 deletions
9
src/utils.lua
Normal file
9
src/utils.lua
Normal file
|
@ -0,0 +1,9 @@
|
|||
local Utils = {}
|
||||
|
||||
function Utils.shallowCopy(orig, target)
|
||||
for key, value in pairs(orig) do
|
||||
target[key] = value
|
||||
end
|
||||
end
|
||||
|
||||
return Utils
|
Loading…
Add table
Add a link
Reference in a new issue