From e3c8e282bb0c6ef44262c6e97d7165e80d9de10c Mon Sep 17 00:00:00 2001 From: Permok Date: Sun, 7 May 2023 19:59:38 +0200 Subject: [PATCH] Only update the dropdown when your character changes talents :) --- ImprovedTalentLoadouts.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ImprovedTalentLoadouts.lua b/ImprovedTalentLoadouts.lua index ebcb21c..3c75fab 100644 --- a/ImprovedTalentLoadouts.lua +++ b/ImprovedTalentLoadouts.lua @@ -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