Skip to content

Commit

Permalink
Cannot pause during intermission
Browse files Browse the repository at this point in the history
  • Loading branch information
aufau committed Sep 8, 2019
1 parent 7717433 commit f4a3374
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/game/g_referee.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,10 @@ static void Ref_Announce_f(void) {
static void Ref_Pause_f( void ) {
char arg[MAX_TOKEN_CHARS];

if (level.intermissionQueued || level.intermissiontime) {
return;
}

if (trap_Argc() == 1) {
level.unpauseTime = UNPAUSE_TIME_NEVER;
} else {
Expand Down

0 comments on commit f4a3374

Please sign in to comment.