mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Merge pull request #147 from SushiTee/DDRace
fixed showing player spawn effect only to players who should see
This commit is contained in:
commit
7bd9a687c4
|
@ -351,7 +351,7 @@ void CPlayer::TryRespawn()
|
|||
m_Spawning = false;
|
||||
m_pCharacter = new(m_ClientID) CCharacter(&GameServer()->m_World);
|
||||
m_pCharacter->Spawn(this, SpawnPos);
|
||||
GameServer()->CreatePlayerSpawn(SpawnPos);
|
||||
GameServer()->CreatePlayerSpawn(SpawnPos, m_pCharacter->Teams()->TeamMask(m_pCharacter->Team(), -1, m_ClientID));
|
||||
}
|
||||
|
||||
bool CPlayer::AfkTimer(int NewTargetX, int NewTargetY)
|
||||
|
|
Loading…
Reference in a new issue