Skip to content

Commit 9a2ab6b

Browse files
committed
oUF: rename this variable
1 parent 93ffd1e commit 9a2ab6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ElvUI_Libraries/Game/Shared/oUF/private.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ function Private.validateUnit(unit)
5050
local ok = pcall(UnitHealth, unit)
5151
if not ok then return end
5252

53-
local isOK, _ = pcall(validator.RegisterUnitEvent, validator, 'UNIT_HEALTH', unit)
54-
if not isOK then return end
53+
local success = pcall(validator.RegisterUnitEvent, validator, 'UNIT_HEALTH', unit)
54+
if not success then return end
5555

5656
local _, unit1 = validator:IsEventRegistered('UNIT_HEALTH')
5757
validator:UnregisterEvent('UNIT_HEALTH')

0 commit comments

Comments
 (0)