Skip to content

Commit b654b37

Browse files
MngddMinegoodd
andauthored
This should resolve the issue where player cant respawn after switching to the spectator team and back during freeze time (#1921)
Co-authored-by: Minegoodd <peepoopepege@gmail.com>
1 parent 8cc29a0 commit b654b37

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/game/shared/neo/neo_gamerules.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4478,7 +4478,7 @@ bool CNEORules::FPlayerCanRespawn(CBasePlayer* pPlayer)
44784478
return true;
44794479
}
44804480

4481-
if (pNeoPlayer->m_bSpawnedThisRound)
4481+
if (pNeoPlayer->m_bSpawnedThisRound && !IsRoundPreRoundFreeze())
44824482
{
44834483
return false;
44844484
}

0 commit comments

Comments
 (0)