Quantcast

Fixed loot positioning.

Safturento [01-20-12 - 19:19]
Fixed loot positioning.
Filename
SaftUI/modules/chat.lua
diff --git a/SaftUI/modules/chat.lua b/SaftUI/modules/chat.lua
index 9441eda..b02b8f6 100644
--- a/SaftUI/modules/chat.lua
+++ b/SaftUI/modules/chat.lua
@@ -23,9 +23,11 @@ local function SetupChat(self)
 		general:SetPoint("BOTTOMLEFT", leftbg, "BOTTOMLEFT", 6, 6)
 		general:SetPoint("TOPRIGHT", leftbg, "TOPRIGHT", -6, -32)

-		loot:ClearAllPoints()
-		loot:SetPoint("BOTTOMLEFT", rightbg, "BOTTOMLEFT", 6, 6)
-		loot:SetPoint("TOPRIGHT", rightbg, "TOPRIGHT", -6, -32)
+		if not C.chat.dockedLoot then
+			loot:ClearAllPoints()
+			loot:SetPoint("BOTTOMLEFT", rightbg, "BOTTOMLEFT", 6, 6)
+			loot:SetPoint("TOPRIGHT", rightbg, "TOPRIGHT", -6, -32)
+		end

 		leftbg:ClearAllPoints()
 		leftbg:SetPoint("BOTTOMLEFT", UIParent, "BOTTOMLEFT", 6, 6)