mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Merge pull request #8486 from Robyt3/Server-Tile-Handling-Fix
Fix tiles being handled in same tick for dead tees in some cases
This commit is contained in:
commit
b422c3cb26
|
@ -1488,6 +1488,8 @@ void CCharacter::HandleTiles(int Index)
|
||||||
m_TeleCheckpoint = TeleCheckpoint;
|
m_TeleCheckpoint = TeleCheckpoint;
|
||||||
|
|
||||||
GameServer()->m_pController->HandleCharacterTiles(this, Index);
|
GameServer()->m_pController->HandleCharacterTiles(this, Index);
|
||||||
|
if(!m_Alive)
|
||||||
|
return;
|
||||||
|
|
||||||
// freeze
|
// freeze
|
||||||
if(((m_TileIndex == TILE_FREEZE) || (m_TileFIndex == TILE_FREEZE)) && !m_Core.m_Super && !m_Core.m_DeepFrozen)
|
if(((m_TileIndex == TILE_FREEZE) || (m_TileFIndex == TILE_FREEZE)) && !m_Core.m_Super && !m_Core.m_DeepFrozen)
|
||||||
|
|
Loading…
Reference in a new issue