mirror of
https://github.com/t-affeldt/climate_api.git
synced 2025-07-05 06:00:33 -04:00
Fix bugs, tweak weather configs, fix noise generator
This commit is contained in:
parent
49242573f2
commit
47530bb07e
9 changed files with 77 additions and 61 deletions
|
@ -14,7 +14,7 @@ function utility.merge_tables(a, b)
|
|||
if type(a) == "table" and type(b) == "table" then
|
||||
for k,v in pairs(b) do
|
||||
if type(v)=="table" and type(a[k] or false)=="table" then
|
||||
merge(a[k],v)
|
||||
utility.merge_tables(a[k],v)
|
||||
else a[k]=v end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue