Skip to content

Commit

Permalink
Fix for essences.lua (code section updates the essence menu if it adds
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ldobson committed May 15, 2012
1 parent 9621059 commit aebe671
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions VeggieTales/luaScripts/essences.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aebe671

Please sign in to comment.