Renamed sv_voxannounce to fcs_voxannounce. As it is FreeCS specific.
This commit is contained in:
parent
86038ac612
commit
098b701fe5
3 changed files with 3 additions and 3 deletions
|
@ -172,7 +172,7 @@ void PutClientInServer( void ) {
|
|||
Money_AddMoney( self, autocvar_mp_startmoney );
|
||||
|
||||
if ( cvar( "mp_timelimit" ) > 0 ) {
|
||||
if ( autocvar_sv_voxannounce == TRUE ) {
|
||||
if ( autocvar_fcs_voxannounce == TRUE ) {
|
||||
float fTimeLeft = cvar( "mp_timelimit" ) - ( time / 60 );
|
||||
Vox_Singlecast( self, sprintf( "we have %s minutes remaining", Vox_TimeToString( fTimeLeft ) ) );
|
||||
}
|
||||
|
|
|
@ -40,9 +40,9 @@ var float autocvar_mp_roundtime = 5;
|
|||
var float autocvar_mp_timelimit = 60;
|
||||
var string autocvar_motdfile = "motd.txt";
|
||||
var int autocvar_mp_friendlyfire = FALSE;
|
||||
var int autocvar_sv_voxannounce = FALSE;
|
||||
|
||||
// New, FreeCS exclusive variables
|
||||
var int autocvar_fcs_voxannounce = FALSE;
|
||||
var int autocvar_fcs_knifeonly = FALSE; // Disallows buying and spawning with weps
|
||||
var int autocvar_fcs_swapteams = FALSE; // Swaps spawnpoints
|
||||
var int autocvar_fcs_nopickups = FALSE; // Disable weapon items
|
||||
|
|
|
@ -65,7 +65,7 @@ void Timer_Update(void) {
|
|||
// This map has been played enough we think
|
||||
if (fGameState != GAME_OVER) {
|
||||
if (cvar("mp_timelimit") > 0) {
|
||||
if (autocvar_sv_voxannounce == TRUE) {
|
||||
if (autocvar_fcs_voxannounce == TRUE) {
|
||||
if (fVoxTimer > time) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue