Skip to content

Commit bcd42f0

Browse files
committed
1 parent 767c4d8 commit bcd42f0

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/game/shared/teamplayroundbased_gamerules.cpp

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3526,8 +3526,17 @@ float CTeamplayRoundBasedRules::GetRespawnWaveMaxLength( int iTeam, bool bScaleW
35263526
if ( State_Get() != GR_STATE_RND_RUNNING )
35273527
return 0;
35283528

3529-
if ( mp_disable_respawn_times.GetBool() == true )
3529+
#ifdef BDSBASE
3530+
// Legacy support to respawn everyone
3531+
if (mp_disable_respawn_times.GetInt() == 1)
3532+
return 0.0f;
3533+
3534+
if (mp_disable_respawn_times.GetInt() & (1 << iTeam))
35303535
return 0.0f;
3536+
#else
3537+
if (mp_disable_respawn_times.GetBool() == true)
3538+
return 0.0f;
3539+
#endif
35313540

35323541
//Let's just turn off respawn times while players are messing around waiting for the tournament to start
35333542
if ( IsInTournamentMode() == true && IsInPreMatch() == true )

0 commit comments

Comments
 (0)