Skip to content

Commit

Permalink
Fix lua error mount/unmount vehicle
Browse files Browse the repository at this point in the history
  • Loading branch information
Neogeekmo authored and Nevcairiel committed Aug 16, 2024
1 parent 4b6bc60 commit a0cd5d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/combopoints.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ end
function Combo:GetPoints(unit)
-- For Malygos dragons, they also self cast their CP on themselves, which is why we check CP on ourself
if( UnitHasVehicleUI("player") and UnitHasVehiclePlayerFrameUI("player") ) then
local points = GetComboPoints("vehicle")
local points = GetComboPoints("vehicle", "target")
if( points == 0 ) then
points = GetComboPoints("vehicle", "vehicle")
end
Expand Down

0 comments on commit a0cd5d8

Please sign in to comment.