Fix IsXWoW

This commit is contained in:
andrew6180
2024-06-10 11:38:50 -07:00
parent b4fb6ed2ae
commit 5990323b98
3 changed files with 3 additions and 7 deletions
+1 -1
View File
@@ -2207,7 +2207,7 @@ end
--todo: see what 'UnitTargetsVehicleInRaidUI' is, there's a call for this in the CompactUnitFrame.lua but zero documentation
CheckVehiclePossession = function(self)
--this unit is possessing a vehicle?
local unitPossessVehicle = (IS_WOW_PROJECT_MAINLINE) and UnitHasVehicleUI(self.unit) or false
local unitPossessVehicle = UnitHasVehicleUI(self.unit) or false
if (unitPossessVehicle) then
if (not self.unitInVehicle) then
if (UnitIsUnit("player", self.unit)) then