04-22-2017, 04:58 PM
(This post was last modified: 04-22-2017, 10:47 PM by Skygirl779.
Edit Reason: typo
)
Well that didn't take long :) I've found my first mistake.
The loading code should be:
This is to avoid overwriting any new keys you add to the config table.
The loading code should be:
Code:
local function OnLoad()
local persistedConfig = ACR.GetSetting(GetStateName(), state.config)
for k,v in pairs(persistedConfig) do
state.config[k] = v
end
end