Added sleep after looking for failed

This commit is contained in:
J-Doiron
2024-12-16 16:04:24 -08:00
parent 3928bb95c9
commit e49b7451a6

View File

@@ -74,6 +74,7 @@ def run_benchmark():
if kerasService.wait_for_word(word="failed", timeout=5, interval=1):
gamepad.single_button_press(button=vg.DS4_BUTTONS.DS4_BUTTON_CROSS)
time.sleep(2)
#Looking for press start
if kerasService.wait_for_word(word="press", timeout=30, interval=1) is None:
logging.error("Game didn't start in time. Check settings and try again.")