(fix/threat) unit "At Least One Enemy" due to missing "none" unit

in our game version
This commit is contained in:
NoM0Re
2025-04-21 16:40:02 +02:00
parent 6fc121a17a
commit d3ab7a63a2
2 changed files with 2 additions and 5 deletions
-3
View File
@@ -76,9 +76,6 @@ local ConstructTest, ConstructFunction
local nameplateExists = {}
---@param unit UnitToken
---@param smart? boolean
---@return boolean unitExists
function WeakAuras.UnitExistsFixed(unit, smart)
if #unit > 9 and unit:sub(1, 9) == "nameplate" then
return nameplateExists[unit]