changeset 43:b8686c36477f Prospect Me 2 v2.7.1.0-Beta

Fixed an issue that would occur when Mass Prospect/Milling were used with the tradeskill window CLOSED (via their respective recipie buttons). This did not occur with the tradeskill window open.
author Vynn <mischivin@gmail.com>
date Fri, 11 Nov 2016 13:27:27 -0500
parents 35c84e420f4a
children 71cd3f481599
files ProspectMe.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ProspectMe.lua	Fri Nov 11 13:26:19 2016 -0500
+++ b/ProspectMe.lua	Fri Nov 11 13:27:27 2016 -0500
@@ -83,6 +83,7 @@
 			elseif spell == MASS_PROSPECT_FELSLATE or spell == MASS_PROSPECT_LEYSTONE or spell == MASS_MILLING_YSERALLINE then
 				MassMultiplier = 4
 				ParseResults = true
+				C_Timer.After(0.5, function () if ParseResults then ProspectMe.EndCapture() end end ) --Fallback if you're using the tradeskill buttons to craft with the window closed.
 				if spell == MASS_PROSPECT_FELSLATE then
 					ContainerID = 123919
 				end