We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ab2e0a commit cfee8f8Copy full SHA for cfee8f8
1 file changed
src/game/server/tf/tf_player.cpp
@@ -3647,7 +3647,11 @@ bool CTFPlayer::IsReadyToSpawn( void )
3647
3648
if ( TFGameRules()->GetRespawnTimeMode() > 2 && !m_bAbortFreezeCam && GetObserverMode() <= OBS_MODE_FREEZECAM && GetObserverTarget() && GetObserverTarget() != this )
3649
{
3650
- return false;
+ // only if we're not past the max freeze, block the spawn
3651
+ if ( gpGlobals->curtime < GetDeathTime() + 0.51f + spec_freeze_time.GetFloat() )
3652
+ {
3653
+ return false;
3654
+ }
3655
}
3656
3657
// Map-makers can force players to have custom respawn times
0 commit comments