mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-18 14:08:19 +00:00
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:
commit
b1914e972a
|
@ -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++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue