diff --git a/src/lib/data/custom.rb b/src/lib/data/custom.rb index b548a71..3ac96a3 100644 --- a/src/lib/data/custom.rb +++ b/src/lib/data/custom.rb @@ -15,10 +15,10 @@ module Charred data[:stocks].deep_merge!({ stock.key => stock }) when ".lifepaths" contents = json_get(file) - data[:lifepaths].deep_merge!({ contents["stock"] => contents["settings"]}) + data[:lifepaths].ko_deep_merge!({ contents["stock"] => contents["settings"]}) when ".resources" contents = json_get(file) - data[:resources].deep_merge!({ contents["stock"] => contents["resources"]}) + data[:resources].ko_deep_merge!({ contents["stock"] => contents["resources"]}) end end }