修复异常

This commit is contained in:
liwei1dao 2023-11-13 14:58:08 +08:00
parent 79d43418ae
commit 232dc9d051

View File

@ -294,9 +294,11 @@ func (this *Room) AiHanle(stype string) {
this.AiHandleByOpenCard()
break
case "opencard":
if this.aihandlenumber < int32(len(this.aihandlecards)) {
time.Sleep(time.Second)
this.AiHandleByOpenCard()
}
}
}
func (this *Room) SendAllSessions(stype string, msg proto.Message, ispush bool) {