mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Fix reenabling practice mode after kill on solo server
This commit is contained in:
parent
a62eeeb829
commit
4388579d48
|
@ -770,6 +770,7 @@ void CGameTeams::OnCharacterDeath(int ClientID, int Weapon)
|
|||
ChangeTeamState(Team, CGameTeams::TEAMSTATE_OPEN);
|
||||
ResetSwitchers(Team);
|
||||
m_Practice[Team] = false;
|
||||
GameServer()->m_apPlayers[ClientID]->m_VotedForPractice = false;
|
||||
}
|
||||
else if(Locked)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue