Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
Revert changes to ENCOUNTER_END
Browse files Browse the repository at this point in the history
Initial changeset would change loot spec back to default when the ENCOUNTER_ENDs.
This lead to confusing behavior of the addon.
Reverting this change means that the loot spec will not change back to the default setting.
  • Loading branch information
Max Liebkies authored and Max Liebkies committed Jan 13, 2021
1 parent 36825e8 commit ec5baa3
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions LootSpecManager/LootSpecManager.lua
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,6 @@ function events:ENCOUNTER_START(id, _, difficulty)
end
end

function events:ENCOUNTER_END()
if C_ChallengeMode.GetActiveKeystoneInfo() ~= 0 then
return
end
set_spec(LTSM_API:get_default_spec())
end

function events:CHALLENGE_MODE_START(mapId)
if set_spec(LTSM_API:get_mythicplus_spec(mapId)) then
print("[LTSM] M+ started, loot spec changed.")
Expand Down

0 comments on commit ec5baa3

Please sign in to comment.