From 8b14a7c427daa0d35b0624a3a2a33a8f0fed0fb6 Mon Sep 17 00:00:00 2001 From: qbc Date: Thu, 18 Jan 2024 16:57:13 +0800 Subject: [PATCH] hotfix: change 'select_customer' to 'available_customers' when inviting (#14) --- examples/game/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/game/main.py b/examples/game/main.py index b18bc1011..2e961583f 100644 --- a/examples/game/main.py +++ b/examples/game/main.py @@ -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