mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-09 09:38: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);
|
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++)
|
for(int i = 0; i < MAX_CLIENTS; i++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue