Dont open/close garrison when in combat
This commit is contained in:
parent
289f0956bf
commit
8c56333be6
2
core.lua
2
core.lua
|
@ -69,7 +69,7 @@ local function findTypes()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
local function bclick(swap)
|
local function bclick(swap)
|
||||||
if(GarrisonLandingPage) then
|
if(not InCombatLockdown() and GarrisonLandingPage) then
|
||||||
if(GarrisonLandingPage:IsShown()) then
|
if(GarrisonLandingPage:IsShown()) then
|
||||||
GarrisonLandingPage_Toggle()
|
GarrisonLandingPage_Toggle()
|
||||||
if(not swap) then
|
if(not swap) then
|
||||||
|
|
Loading…
Reference in New Issue