From b9a794121af6d7b780bf52919766364ca8d0d765 Mon Sep 17 00:00:00 2001 From: furo Date: Fri, 23 Aug 2024 18:40:15 +0200 Subject: [PATCH] Don't keep `m_DDRaceState` and `m_StartTime` of teammate in team0mode after death --- src/game/server/entities/character.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/server/entities/character.cpp b/src/game/server/entities/character.cpp index 9d136bb13..2c1f33e6a 100644 --- a/src/game/server/entities/character.cpp +++ b/src/game/server/entities/character.cpp @@ -2346,7 +2346,7 @@ void CCharacter::DDRaceInit() int Team = Teams()->m_Core.Team(m_Core.m_Id); - if(Teams()->TeamLocked(Team)) + if(Teams()->TeamLocked(Team) && !Teams()->TeamFlock(Team)) { for(int i = 0; i < MAX_CLIENTS; i++) {