From 5243feda435b09c36a06d5babb6778ac149708c0 Mon Sep 17 00:00:00 2001 From: shagu Date: Wed, 15 Nov 2017 20:01:05 +0100 Subject: [PATCH] nameplates: also write original blizz variables --- modules/nameplates.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/nameplates.lua b/modules/nameplates.lua index f27c7851..5310e6c7 100644 --- a/modules/nameplates.lua +++ b/modules/nameplates.lua @@ -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)