Your AceDB is working fine, but you replace the AceDB "global" table reference instead of editing the table
We should have seen it earlier tbh
https://gfycat.com/AcrobaticDefensiveFluke
Code:
@@ -107,15 +107,13 @@ function Experience:UpdateDB()
if relativeFrame == UIParent then
relativeFrame = "UIParent";
end
- E.db.global = {
- experience = {
- ["point"] = point,
- ["relativeFrame"] = relativeFrame,
- ["relativePoint"] = relativePoint,
- ["ofsx"] = ofsx,
- ["ofsy"] = ofsy,
- },
- }
+ E.db.global.experience = {
+ point = point,
+ relativeFrame = relativeFrame,
+ relativePoint = relativePoint,
+ ofsx = ofsx,
+ ofsy = ofsy,
+ }
end
Looking at the rest there are a lot of things you could improve on, but I respectfully won't bother you with that