From aebe67180acc60965905b2c967229bb0534db356 Mon Sep 17 00:00:00 2001 From: Skyfeather Date: Tue, 15 May 2012 05:29:14 -0400 Subject: [PATCH] Fix for essences.lua (code section updates the essence menu if it adds alcohol so quickly that the server doesn't update the essence status, it has to refresh the essence menu until it sees the picture to start the essence --- VeggieTales/luaScripts/essences.lua | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/VeggieTales/luaScripts/essences.lua b/VeggieTales/luaScripts/essences.lua index 7e5489b..45362e5 100644 --- a/VeggieTales/luaScripts/essences.lua +++ b/VeggieTales/luaScripts/essences.lua @@ -501,11 +501,7 @@ function labTick(region, state) else statusScreen("Could not find start Essential, updating menu"); --otherwise, search for place, and and update the menu - local image2 - image2 = srFindImage("PlaceEssence.png"); - if image2 then - srClickMouseNoMove(image2[0] -2, image2[1] - 3); - end + srClickMouseNoMove(t[0] + 10, t[1] + 5); lsSleep(200); end end