don't load curses if no superwow

This commit is contained in:
pepopo978
2024-11-20 13:11:16 -08:00
parent 8ba18ee9fb
commit 5a6b3b60b5
+4
View File
@@ -13,6 +13,10 @@ if not GetPlayerBuffID or not CombatLogAdd or not SpellInfo then
end
function Cursive:OnEnable()
if not Cursive.superwow then
return
end
DEFAULT_CHAT_FRAME:AddMessage(L["|cffffcc00Cursive:|cffffaaaa Loaded. /cursive for commands and minimap icon for options."])
Cursive.curses:LoadCurses()