修改处理两个目标的bug

This commit is contained in:
ChenXL97 2023-11-18 21:09:14 +08:00
parent 6f3a01eb3f
commit 45d1874867
2 changed files with 2 additions and 1 deletions

View File

@ -47,7 +47,7 @@ class DealChat(Act):
if len(w)>1:
for x in w[1:]:
if x != "":
goal_set.add(x[0] + ")")
goal_set.add(x[1:] + ")")
self.function_success = True
except:
print("参数解析错误")

View File

@ -458,6 +458,7 @@ class Scene:
def customer_say(self,name,sentence,show_bubble=True):
if isinstance(name,int):
name = self.walker_index2mem(name)
print(f'{name} say: {sentence}')
if show_bubble:
self.walker_bubble(name,sentence)