From 2c84f8311ce288c8d9734f27fc8955bcf648d524 Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Fri, 1 Jun 2012 03:57:44 +0200 Subject: [PATCH] Disable auto-gossip in a raid instance --- Monomyth.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Monomyth.lua b/Monomyth.lua index 2d65aee..4fc5826 100644 --- a/Monomyth.lua +++ b/Monomyth.lua @@ -72,7 +72,8 @@ Monomyth:Register('GOSSIP_SHOW', function() end end - if(available == 0 and active == 0 and GetNumGossipOptions() == 1) then + local _, instance = GetInstanceInfo() + if(available == 0 and active == 0 and GetNumGossipOptions() == 1 and instance == 'raid') then local _, type = GetGossipOptions() if(type == 'gossip') then SelectGossipOption(1) -- 1.7.9.5