mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- moved the xor method out to IceHUD instead of being a CastBar local function
- made second threat bar and aggro bar behave properly with new invert/reverse
This commit is contained in:
@ -883,3 +883,7 @@ function IceHUD:ShouldSwapToVehicle(...)
|
||||
return true
|
||||
end
|
||||
end
|
||||
|
||||
function IceHUD:xor(val1, val2)
|
||||
return val1 and not val2 or val2 and not val1
|
||||
end
|
||||
|
Reference in New Issue
Block a user