raid: switch to flat config format

This commit is contained in:
shagu
2025-04-30 00:52:25 +02:00
parent db60852580
commit 2adff362ff
3 changed files with 19 additions and 17 deletions
+2 -2
View File
@@ -52,8 +52,8 @@ module.enable = function(self)
end
-- set raid frame size
raid.cluster:SetWidth(x * (raid.cluster.config.width+2) + 6)
raid.cluster:SetHeight(y * (raid.cluster.config.height+1) + 7)
raid.cluster:SetWidth(x * (raid.cluster.config["raid.width"]+2) + 6)
raid.cluster:SetHeight(y * (raid.cluster.config["raid.height"]+1) + 7)
raid:Show()
else
raid:Hide()