Fix missing mixin error
This commit is contained in:
parent
0e7b0d5df6
commit
ba471c6a6c
1 changed files with 3 additions and 1 deletions
|
|
@ -376,7 +376,9 @@ function AB:CreateVehicleLeave()
|
|||
|
||||
vehicle:SetScript("OnClick", Vehicle_ExitVehicle)
|
||||
vehicle:SetScript("OnEvent", Vehicle_OnEvent)
|
||||
vehicle:SetScript("OnEnter", MainMenuBarVehicleLeaveButtonMixin.OnEnter)
|
||||
if MainMenuBarVehicleLeaveButtonMixin then
|
||||
vehicle:SetScript("OnEnter", MainMenuBarVehicleLeaveButtonMixin.OnEnter)
|
||||
end
|
||||
vehicle:SetScript("OnLeave", GameTooltip_Hide)
|
||||
vehicle:RegisterEvent("PLAYER_ENTERING_WORLD")
|
||||
vehicle:RegisterEvent("UPDATE_BONUS_ACTIONBAR")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue