summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkai <kai@zittrig.eu>2020-06-10 20:02:42 +0100
committerkai <kai@zittrig.eu>2020-06-10 20:02:42 +0100
commit1d1add06a4d7025b7492e75cdc06020cb2f4e3f1 (patch)
treee07e170c838021a7b8ddba137fa4e0bc3e94f113
parent47c85dce3bd686c1c27065b36d0a1b68e6d77b1e (diff)
show the timelimit and SD time at the end of the warmup
-rw-r--r--src/game/g_main.c8
1 files changed, 8 insertions, 0 deletions
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 ) );
+ }
}