aboutsummaryrefslogtreecommitdiff
path: root/mp/src/game/shared/teamplay_round_timer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mp/src/game/shared/teamplay_round_timer.cpp')
-rw-r--r--mp/src/game/shared/teamplay_round_timer.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/mp/src/game/shared/teamplay_round_timer.cpp b/mp/src/game/shared/teamplay_round_timer.cpp
index 63098cd6..f993749a 100644
--- a/mp/src/game/shared/teamplay_round_timer.cpp
+++ b/mp/src/game/shared/teamplay_round_timer.cpp
@@ -636,6 +636,12 @@ const char *CTeamRoundTimer::GetTimeWarningSound( int nWarning )
//-----------------------------------------------------------------------------
void CTeamRoundTimer::SendTimeWarning( int nWarning )
{
+#if defined( TF_CLIENT_DLL )
+ // don't play any time warnings for Helltower
+ if ( TFGameRules() && TFGameRules()->IsHalloweenScenario( CTFGameRules::HALLOWEEN_SCENARIO_HIGHTOWER ) )
+ return;
+#endif
+
// don't play sounds if the level designer has turned them off or if it's during the WaitingForPlayers time
if ( !m_bTimerPaused && m_bAutoCountdown && !TeamplayRoundBasedRules()->IsInWaitingForPlayers() )
{