Skip to content

Commit

Permalink
[Bugfix] Fix issue with API calls not properly triggering updates whe…
Browse files Browse the repository at this point in the history
…n Frame Names are parsed eg. "CUF_Target"
  • Loading branch information
Krealle committed Nov 12, 2024
1 parent 475bfbe commit 49528c3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions API/Common.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ function API:GetUnitFrame(name)
end
end

local lowerCaseUnitName = string.lower(name)

return unitFrame, lowerCaseUnitName
return unitFrame, unitFrame._baseUnit
end

--- Returns all unit frames as an indexed table.
Expand Down

0 comments on commit 49528c3

Please sign in to comment.