I still cant get these accountwide settings to work the way I want.
there seems to be something weird going on with the references, if I try to change a an accountwide setting via console (
SimpleXPBar.AWSV.textbar.text = "Hello World") or even using a function, none of the settings are updated in the live tables or saved tables, its making it utterly confusing. I have also tried using coolmodi's deepcopy and its not working, I've also tried this:
Lua Code:
function SVOverwrite(src, dst)
for k,v in pairs(src) do
d(type(v) .. ": " .. k)
if type(v) == "table" then
SVOverwrite(v, dst[k])
elseif type(v) == "function" then
else
dst[k] = v
end
end
end
again not working;
All I want to do is overwrite the values in one SavedVars with another while still letting them both save seperately, no references just values, this is driving me crazy, what am I doing wrong?