Skip to content

Commit

Permalink
Merge pull request ddnet#9429 from Pioooooo/fix-spike-in-rescue
Browse files Browse the repository at this point in the history
Fix spike kills instead of freezes in force-solo servers in team 0
  • Loading branch information
def- authored Dec 26, 2024
2 parents 9a157e8 + 62f1faf commit e823874
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/server/entities/character.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1386,7 +1386,7 @@ void CCharacter::HandleSkippableTiles(int Index)
Collision()->GetFrontCollisionAt(m_Pos.x - GetProximityRadius() / 3.f, m_Pos.y + GetProximityRadius() / 3.f) == TILE_DEATH) &&
!m_Core.m_Super && !m_Core.m_Invincible && !(Team() && Teams()->TeeFinished(m_pPlayer->GetCid())))
{
if(Team() && Teams()->IsPractice(Team()))
if(Teams()->IsPractice(Team()))
{
Freeze();
// Rate limit death effects to once per second
Expand Down

0 comments on commit e823874

Please sign in to comment.