diff options
-rw-r--r-- | src/game/g_admin.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c index a81558ea..38511875 100644 --- a/src/game/g_admin.c +++ b/src/game/g_admin.c @@ -1270,7 +1270,8 @@ qboolean G_admin_setlevel( gentity_t *ent ) if( level.clients[ i ].pers.connected == CON_DISCONNECTED ) continue; - if( matches && level.clients[ i ].pers.admin == a ) + if( matches && level.clients[ i ].pers.admin && + level.clients[ i ].pers.admin == a ) { vic = &g_entities[ i ]; continue; |