summaryrefslogtreecommitdiff
path: root/src/game/g_admin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_admin.c')
-rw-r--r--src/game/g_admin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c
index 2f364fb5..372891e7 100644
--- a/src/game/g_admin.c
+++ b/src/game/g_admin.c
@@ -2863,6 +2863,8 @@ qboolean G_admin_restart( gentity_t *ent )
qboolean G_admin_nextmap( gentity_t *ent )
{
+ if( level.exited )
+ return qfalse;
AP( va( "print \"^3nextmap: ^7%s^7 decided to load the next map\n\"",
( ent ) ? ent->client->pers.netname : "console" ) );
level.lastWin = TEAM_NONE;