Mercurial > wow > devian
diff Devian.lua @ 11:65fcb81f4e0a v1.2-r11
Media file placement
Logic operations madness
author | Nenue |
---|---|
date | Sat, 19 Dec 2015 03:13:55 -0500 |
parents | 12d814c10962 |
children | 080dfa4990fb |
line wrap: on
line diff
--- a/Devian.lua Sat Dec 19 00:03:29 2015 -0500 +++ b/Devian.lua Sat Dec 19 03:13:55 2015 -0500 @@ -103,7 +103,7 @@ -- Debug info local function CreateMessenger() - if db.console == true then + if db.console == true and db.enabled == false then DEVIAN_FRAME:Show() end @@ -210,8 +210,7 @@ end function D:OnEnable() - if db.enabled then - DEVIAN_FRAME:Hide() + if db.enabled == true then D:Print('Standard AddOn list active. Type /dvn to switch to development mode.') else D:Print('Development AddOn list active. Type /dvn to revert to regular operation.')