mirror of
https://github.com/fishyboteso/fishyboteso.git
synced 2024-08-30 18:32:13 +00:00
full auto doesn't stop when waiting for game window to be active
This commit is contained in:
parent
810c0276a1
commit
901c8d6ea8
@ -75,9 +75,10 @@ class FullAuto(IEngine):
|
||||
|
||||
if not is_eso_active():
|
||||
logging.info("Waiting for eso window to be active...")
|
||||
wait_until(is_eso_active)
|
||||
logging.info("starting in 2 secs...")
|
||||
time.sleep(2)
|
||||
wait_until(lambda: is_eso_active() or not self.start)
|
||||
if self.start:
|
||||
logging.info("starting in 2 secs...")
|
||||
time.sleep(2)
|
||||
|
||||
# noinspection PyBroadException
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user