Merge pull request #8794 from furo321/fix-team0mode-bug

Don't keep `m_DDRaceState` and `m_StartTime` of teammate in team0mode after death
This commit is contained in:
Dennis Felsing 2024-08-23 17:12:09 +00:00 committed by GitHub
commit b1914e972a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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++)
{