Quantcast

Disable when visiting guild bank too

Adrian L Lange [02-17-12 - 03:44]
Disable when visiting guild bank too
Filename
Monomyth.lua
diff --git a/Monomyth.lua b/Monomyth.lua
index e5eaf2b..98d2361 100644
--- a/Monomyth.lua
+++ b/Monomyth.lua
@@ -159,6 +159,14 @@ Monomyth:Register('BANKFRAME_CLOSED', function()
 	atBank = false
 end)

+Monomyth:Register('GUILDBANKFRAME_OPENED', function()
+	atBank = true
+end)
+
+Monomyth:Register('GUILDBANKFRAME_CLOSED', function()
+	atBank = false
+end)
+
 local completedQuests, query = {}
 Monomyth:Register('QUEST_QUERY_COMPLETE', function()
 	if(query) then