Modues/Nameplates: fix incorrect atlas name

This commit is contained in:
andrew6180
2023-07-25 17:15:51 -07:00
parent aabe164393
commit 01bc4c7df5
+1 -1
View File
@@ -4,7 +4,7 @@ local NP = E:GetModule('NamePlates')
local strlower = strlower
function NP:PvPIndicator_PostUpdate(_, status)
if status and status ~= 'FFA' and (not self.Badge or not self.Badge:IsShown()) then
if status and strlower(status) ~= 'ffa' and (not self.Badge or not self.Badge:IsShown()) then
self:SetAtlas('bfa-landingbutton-'..strlower(status)..'-up')
self:SetTexCoord(0, 1, 0, 1)
end