0c86672837
+ Updated CADvanced to latest version which adds BOLO functionality. + Server artefacts updated to latest version
12 lines
382 B
Lua
12 lines
382 B
Lua
local cad_config = {}
|
|
|
|
-- Update config from CAD
|
|
function cad_config.receive_update(updated_config)
|
|
local retval = getResourcePath()
|
|
local conf = io.open(retval .. "/cad.conf", "w")
|
|
conf:write("###### IMPORTANT CONFIGURATION FILE - DO NOT EDIT OR DELETE ######\n")
|
|
conf:write(updated_config.url .. "|" .. updated_config.key)
|
|
io.close(conf)
|
|
end
|
|
|
|
return cad_config |