From 1d1add06a4d7025b7492e75cdc06020cb2f4e3f1 Mon Sep 17 00:00:00 2001 From: kai Date: Wed, 10 Jun 2020 20:02:42 +0100 Subject: show the timelimit and SD time at the end of the warmup --- src/game/g_main.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/game/g_main.c b/src/game/g_main.c index d8e53b0..9389db7 100644 --- a/src/game/g_main.c +++ b/src/game/g_main.c @@ -2795,7 +2795,15 @@ void CheckCountdown( void ) if( timeleft > 0 ) trap_SendServerCommand( -1, va( "cp \"^1Warmup Time:^7\n^%i----- ^7%i ^%i-----\"", timeleft % 7, timeleft, timeleft % 7 ) ); else if( timeleft == 0 ) + { trap_SendServerCommand( -1, "cp \"^2----- GO! -----^7\"" ); + + if( g_suddenDeathTime.integer > 0 ) + trap_SendServerCommand( -1, va( "print \"^7Sudden Death will be at ^3%02i:00^7\n", g_suddenDeathTime.integer ) ); + + if( g_timelimit.integer > 0 ) + trap_SendServerCommand( -1, va( "print \"^7The timelimit is at ^3%02i:00^7\n", g_timelimit.integer ) ); + } } -- cgit