This commit is contained in:
aozhiwei 2024-10-17 14:16:08 +08:00
parent 69b2db191e
commit 0cbc90c4f1

View File

@ -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())