Skip to content

Commit

Permalink
Maybe roles fix on Classic
Browse files Browse the repository at this point in the history
  • Loading branch information
d87 committed Jan 17, 2025
1 parent 630bf1e commit e6f8f69
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Aptechka.lua
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,9 @@ if apiLevel <= 4 then
HasIncomingSummon = dummyNil
end
if apiLevel <= 2 then
local SeasonOfDiscovery = true
if not SeasonOfDiscovery then
GetActiveTalentGroup = function() return 1 end
UnitGroupRolesAssigned = function(unit) if GetPartyAssignment("MAINTANK", unit) then return "TANK" end end
UnitGroupRolesAssigned = function(unit)
if GetPartyAssignment("MAINTANK", unit) then return "TANK" end
return _G.UnitGroupRolesAssigned(unit)
end
UnitHasVehicleUI = dummyFalse
UnitInVehicle = dummyFalse
Expand Down

0 comments on commit e6f8f69

Please sign in to comment.