Skip to content

Commit

Permalink
hotfix: change 'select_customer' to 'available_customers' when inviti…
Browse files Browse the repository at this point in the history
…ng (#14)
  • Loading branch information
qbc2016 authored Jan 18, 2024
1 parent 473bffd commit 8b14a7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/game/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def invite_customers(customers):
answer = query_answer(select_customer, "invited")
if answer == "END":
break
if answer not in select_customer:
if answer not in available_customers:
send_chat_msg("【系统】请重新选择。")
continue

Expand Down

0 comments on commit 8b14a7c

Please sign in to comment.