修改处理两个目标的bug
This commit is contained in:
parent
6f3a01eb3f
commit
45d1874867
|
@ -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("参数解析错误")
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue