Quantcast

Fixed SummonManager.HasSummon, should now work in all cases.

F16Gaming [08-14-12 - 03:01]
Fixed SummonManager.HasSummon, should now work in all cases.
Filename
SummonManager.lua
diff --git a/SummonManager.lua b/SummonManager.lua
index 4e8c28c..380f825 100644
--- a/SummonManager.lua
+++ b/SummonManager.lua
@@ -146,7 +146,7 @@ function SM:DeclineSummon()
 end

 function SM:HasSummon()
-	return GetSummonConfirmTimeLeft() > 0
+	return GetSummonConfirmTimeLeft() > 0 and StaticPopup_Visible("CONFIRM_SUMMON")
 end

 function SM:IsEnabled()