mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-09 09:38:19 +00:00
fix practice mode not resetting after disconnect on solo servers
This commit is contained in:
parent
a8192c19a0
commit
d94d020c25
|
@ -1065,7 +1065,7 @@ void CGameTeams::OnCharacterDeath(int ClientID, int Weapon)
|
|||
ChangeTeamState(Team, CGameTeams::TEAMSTATE_OPEN);
|
||||
if(m_aPractice[Team])
|
||||
{
|
||||
if(Weapon == WEAPON_SELF)
|
||||
if(Weapon != WEAPON_WORLD)
|
||||
{
|
||||
ResetRoundState(Team);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue