bubbles: switch to already existing cvar

This commit is contained in:
shagu
2018-03-04 23:22:44 +01:00
parent d1fe3940d4
commit 55e2d06834
3 changed files with 2 additions and 7 deletions
-3
View File
@@ -2,9 +2,6 @@ pfUI:RegisterModule("bubbles", function ()
local alpha = tonumber(C.chat.bubbles.alpha)
SetCVar("chatBubbles", tonumber(C.chat.bubbles.chat))
SetCVar("chatBubblesParty", tonumber(C.chat.bubbles.party))
pfUI.bubbles = CreateFrame("Frame", "pfChatBubbles", UIParent)
pfUI.bubbles:RegisterEvent("CHAT_MSG_SAY")
pfUI.bubbles:RegisterEvent("CHAT_MSG_YELL")