mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-04-09 19:41:36 +00:00
Reduced the respawn time left to 1000
This commit is contained in:
parent
4912dc3141
commit
bd134f5e5f
3 changed files with 3 additions and 3 deletions
|
@ -298,7 +298,7 @@ bool CTFTeamStatusPlayerPanel::Update( void )
|
|||
if ( iRespawnWait != m_iPrevRespawnWait )
|
||||
{
|
||||
m_iPrevRespawnWait = iRespawnWait;
|
||||
if ( ( iRespawnWait < 0 ) || !bSameTeamAsLocalPlayer || ( iRespawnWait >= 9990.0 ) )
|
||||
if ( ( iRespawnWait < 0 ) || !bSameTeamAsLocalPlayer || ( iRespawnWait >= 1000.0 ) )
|
||||
{
|
||||
SetDialogVariable( "respawntime", "" );
|
||||
}
|
||||
|
|
|
@ -231,7 +231,7 @@ bool CTFPlayerPanel::Update( void )
|
|||
if ( iRespawnWait != m_iPrevRespawnWait )
|
||||
{
|
||||
m_iPrevRespawnWait = iRespawnWait;
|
||||
if ( iRespawnWait < 0 || iRespawnWait >= 9990.0 )
|
||||
if ( iRespawnWait < 0 || iRespawnWait >= 1000.0 )
|
||||
{
|
||||
SetDialogVariable( "respawntime", "" );
|
||||
}
|
||||
|
|
|
@ -406,7 +406,7 @@ void CTFSpectatorGUI::UpdateReinforcements( void )
|
|||
{
|
||||
g_pVGuiLocalize->ConstructString_safe( wLabel, g_pVGuiLocalize->Find("#game_respawntime_in_sec" ), 0 );
|
||||
}
|
||||
else if ( iRespawnWait >= 9990.0 )
|
||||
else if ( iRespawnWait >= 1000.0 )
|
||||
{
|
||||
g_pVGuiLocalize->ConstructString_safe( wLabel, g_pVGuiLocalize->Find("#game_respawntime_disabled" ), 0 );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue