Skip to content

Commit 9a2bc7f

Browse files
committed
Fix an error opening settings in combat
1 parent cbd3be1 commit 9a2bc7f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

options.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,10 @@ function ns:RegisterOptions()
164164
end
165165

166166
function ns:OpenConfig()
167+
if C_SettingsUtil and C_SettingsUtil.OpenSettingsPanel and InCombatLockdown() then
168+
LibStub("AceConfigDialog-3.0"):Open(self.configPanelName);
169+
return;
170+
end
167171
Settings.OpenToCategory(self.categoryID)
168172
end
169173

0 commit comments

Comments
 (0)