fix practice mode not resetting after disconnect on solo servers

This commit is contained in:
dobrykafe 2024-03-05 14:08:30 +01:00
parent a8192c19a0
commit d94d020c25

View file

@ -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);
}