mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-13 03:28:19 +00:00
parent
9baf62a3f0
commit
7b259b3022
|
@ -658,11 +658,10 @@ void CGameTeams::OnCharacterDeath(int ClientID, int Weapon)
|
||||||
if(m_Core.Team(i) == Team && GameServer()->m_apPlayers[i])
|
if(m_Core.Team(i) == Team && GameServer()->m_apPlayers[i])
|
||||||
{
|
{
|
||||||
if(i!= ClientID)
|
if(i!= ClientID)
|
||||||
{
|
|
||||||
GameServer()->m_apPlayers[i]->KillCharacter(-2);
|
GameServer()->m_apPlayers[i]->KillCharacter(-2);
|
||||||
|
|
||||||
GameServer()->SendChatTarget(i, aBuf);
|
GameServer()->SendChatTarget(i, aBuf);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue