This commit is contained in:
wh_zcy 2023-05-30 17:18:32 +08:00
parent 7667308a80
commit 52676533e4

View File

@ -62,6 +62,10 @@ func (this *Worldtask) TCondFinishNotify(uid string, conids []int32) {
this.Debug("世界任务完成条件通知", log.Field{Key: "uid", Value: uid}, log.Field{Key: "condIds", Value: conids}) this.Debug("世界任务完成条件通知", log.Field{Key: "uid", Value: uid}, log.Field{Key: "condIds", Value: conids})
session, ok := this.GetUserSession(uid) session, ok := this.GetUserSession(uid)
if !ok {
this.Errorln("获取session失败")
return
}
defer func() { defer func() {
if ok { if ok {
session.Push() session.Push()