mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-09 17:48:19 +00:00
Merge pull request #8065 from dobrykafe/pr-solo-practice-bug
Fix practice mode not resetting after disconnect on solo servers
This commit is contained in:
commit
44bf0134f0
|
@ -1065,7 +1065,7 @@ void CGameTeams::OnCharacterDeath(int ClientID, int Weapon)
|
||||||
ChangeTeamState(Team, CGameTeams::TEAMSTATE_OPEN);
|
ChangeTeamState(Team, CGameTeams::TEAMSTATE_OPEN);
|
||||||
if(m_aPractice[Team])
|
if(m_aPractice[Team])
|
||||||
{
|
{
|
||||||
if(Weapon == WEAPON_SELF)
|
if(Weapon != WEAPON_WORLD)
|
||||||
{
|
{
|
||||||
ResetRoundState(Team);
|
ResetRoundState(Team);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue