修复异常
This commit is contained in:
parent
79d43418ae
commit
232dc9d051
@ -294,10 +294,12 @@ 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) {
|
||||
for _, v := range this.sessions {
|
||||
|
Loading…
Reference in New Issue
Block a user