diff --git a/VeggieTales/luaScripts/Fishing.lua b/VeggieTales/luaScripts/Fishing.lua index e4e9bea..674eccd 100644 --- a/VeggieTales/luaScripts/Fishing.lua +++ b/VeggieTales/luaScripts/Fishing.lua @@ -338,6 +338,10 @@ function findchat(line) if line and line > 0 then Coords = imgs[(#imgs) - line]; + if not Coords then + error 'Main chat tab is not showing or the chat window needs to be adjusted!' + end + end --Find What Happened diff --git a/VeggieTales/luaScripts/cc_Auto.lua b/VeggieTales/luaScripts/cc_Auto.lua index 0ee3500..47ba0b5 100755 --- a/VeggieTales/luaScripts/cc_Auto.lua +++ b/VeggieTales/luaScripts/cc_Auto.lua @@ -24,8 +24,10 @@ function ccMenu() askForWindow(focusMessage); for i=1,passCount do runCommand(buttons[1]); + lsSleep(1000); ccRun(i, passCount); end + lsPlaySound("Complete.wav"); end function findOvens()