mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2025-02-01 14:21:02 +00:00
Fixing something..
This commit is contained in:
parent
d61d238a13
commit
32edba3c46
1 changed files with 4 additions and 4 deletions
|
@ -383,15 +383,15 @@ void Ref_Command ( gentity_t *ent){
|
|||
else if(Q_stricmp (com, "pause") == 0 ){
|
||||
if(level.paused) {
|
||||
trap_SendServerCommand( -1, "cp \"Game resumed by Referee.\n\"");
|
||||
level.paused = false;
|
||||
level.paused = qfalse;
|
||||
}
|
||||
else {
|
||||
if(level.team_game_going) {
|
||||
if(level.inGame)
|
||||
trap_SendServerCommand( ent-g_entities, "print \"Game will be paused at the end of the round"
|
||||
trap_SendServerCommand( ent-g_entities, "print \"Game will be paused at the end of the round");
|
||||
else
|
||||
trap_SendServerCommand( -1, "cp \"Game is now paused by the Referee.\n\"");
|
||||
level.paused = true;
|
||||
trap_SendServerCommand(-1,va("cp \"Game is now paused by the Referee\""));
|
||||
level.paused = qtrue;
|
||||
}
|
||||
else
|
||||
trap_SendServerCommand( ent-g_entities, "print \"No game is going..");
|
||||
|
|
Loading…
Reference in a new issue