Skip to content

Commit

Permalink
Only update the dropdown when your character changes talents :)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lardeck committed May 7, 2023
1 parent 8753cb6 commit e3c8e28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ImprovedTalentLoadouts.lua
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ do
if TalentLoadouts.pendingLoadout and not UnitCastingInfo("player") then
TalentLoadouts:OnLoadoutFail(event)
end
elseif event == "UNIT_SPELLCAST_SUCCEEDED" and arg3 == Constants.TraitConsts.COMMIT_COMBAT_TRAIT_CONFIG_CHANGES_SPELL_ID then
elseif event == "UNIT_SPELLCAST_SUCCEEDED" and arg1 == "player" and arg3 == Constants.TraitConsts.COMMIT_COMBAT_TRAIT_CONFIG_CHANGES_SPELL_ID then
if TalentLoadouts.pendingLoadout then
TalentLoadouts:OnLoadoutSuccess()
else
Expand Down

0 comments on commit e3c8e28

Please sign in to comment.