Skip to content

Commit

Permalink
Merge pull request #97 from zacowan/develop
Browse files Browse the repository at this point in the history
Hotfixes
  • Loading branch information
zacowan authored Dec 6, 2021
2 parents 0918366 + b1d3743 commit ad8925d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion andy_api/api/intent_processing/move_piece.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
]

ILLEGAL_MOVE_ERROR_RESPONSES = [
"Actually, that move would be against the rules, so you can't do it.",
"Actually, that would be against the rules, so you can't do it.",
"Oh, that's an illegal move. Could you give me a different one?"
]

Expand Down
2 changes: 1 addition & 1 deletion andy_api/api/intent_processing/restart_game_no.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

HAPPY_PATH_RESPONSES = [
"Okay - let's continue playing then.",
"Okay - let's finish this round then."
"Okay - let's finish this game then."
]


Expand Down
2 changes: 1 addition & 1 deletion chess_client/client/audio_detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def run():

# If we don't detect anything and we exceed a timeout, tell the user we can provide them with a move
if not detected_text:
if timer_counter.check_timer():
if game_engine.isGameStarted and timer_counter.check_timer():
print("TRIGGER")
timer_counter.stop_timer()
audio_response = get_help_response("TIMEOUT")
Expand Down

0 comments on commit ad8925d

Please sign in to comment.