|
Post by zenkrye on Nov 27, 2017 15:48:07 GMT
I have a spot in my code that I am waiting for an image to appear after I clicked something. In some cases the image does not appear (either lag or ad screen). When using wait it throws an exception and stops the program.
Looking at waitClick and existsClick the latter does not throw an exception. Will exists work the same as wait but not throw an exception?
if (PSRL.Search.R:existsClick(PSRL.Search.P)) then
PSRL.SearchX.R:wait(PSRL.SearchX.P) -- Wait fan fail
end
|
|
|
Post by AnkuLua on Nov 27, 2017 16:01:13 GMT
YES.
|
|