From 0cbc90c4f11ebec666f8febc48c55935e66741e8 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 17 Oct 2024 14:16:08 +0800 Subject: [PATCH] 1 --- server/matchserver/history/historymgr.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/matchserver/history/historymgr.go b/server/matchserver/history/historymgr.go index fc910f9c..de715f83 100644 --- a/server/matchserver/history/historymgr.go +++ b/server/matchserver/history/historymgr.go @@ -56,7 +56,7 @@ func (this *historyMgr) PushLastBattleInfo(hum common.Player) { func (this *historyMgr) CanStart(accountId string, mapId int32, modeId int32) bool { u := this.getUser(accountId) - if u == nil && modeId == jccommon.MAP_MODE_CIRCUIT { + if u != nil && modeId == jccommon.MAP_MODE_CIRCUIT { key := q5.MkInt64(mapId, modeId) if startTime, ok := u.mapAndModeHash[key]; ok { nowTime := q5.ToInt32(f5.GetApp().GetRealSeconds())