mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Merge pull request #767 from Learath2/dd_pr_pausekeep
Keep pause state when killed
This commit is contained in:
commit
40a0aadd23
|
@ -546,7 +546,6 @@ void CPlayer::TryRespawn()
|
||||||
|
|
||||||
m_WeakHookSpawn = false;
|
m_WeakHookSpawn = false;
|
||||||
m_Spawning = false;
|
m_Spawning = false;
|
||||||
m_Paused = false;
|
|
||||||
m_pCharacter = new(m_ClientID) CCharacter(&GameServer()->m_World);
|
m_pCharacter = new(m_ClientID) CCharacter(&GameServer()->m_World);
|
||||||
m_pCharacter->Spawn(this, SpawnPos);
|
m_pCharacter->Spawn(this, SpawnPos);
|
||||||
GameServer()->CreatePlayerSpawn(SpawnPos, m_pCharacter->Teams()->TeamMask(m_pCharacter->Team(), -1, m_ClientID));
|
GameServer()->CreatePlayerSpawn(SpawnPos, m_pCharacter->Teams()->TeamMask(m_pCharacter->Team(), -1, m_ClientID));
|
||||||
|
|
Loading…
Reference in a new issue