mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-29 02:36:02 +00:00
nameplates: also write original blizz variables
This commit is contained in:
@@ -572,8 +572,10 @@ pfUI:RegisterModule("nameplates", function ()
|
||||
pfUI.nameplates.combat:SetScript("OnEvent", function()
|
||||
if event == "PLAYER_ENTER_COMBAT" then
|
||||
this.inCombat = 1
|
||||
if PlayerFrame then PlayerFrame.inCombat = 1 end
|
||||
elseif event == "PLAYER_LEAVE_COMBAT" then
|
||||
this.inCombat = nil
|
||||
if PlayerFrame then PlayerFrame.inCombat = nil end
|
||||
end
|
||||
end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user