summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIronClawTrem <louie.nutman@gmail.com>2020-03-22 15:27:19 +0000
committerIronClawTrem <louie.nutman@gmail.com>2020-03-22 15:35:33 +0000
commit6166dbf695f1272bbeff375cf4651a35e1d90a56 (patch)
treeeb7dd4f6198d58f563b5d8635e508946fdf4bf43 /src
parent18c5857b4d93230bd498e1a3da459bc86a39a3f4 (diff)
fix console not being highest admin
Diffstat (limited to 'src')
-rw-r--r--src/game/g_admin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c
index 8f6e564..0c6b4e6 100644
--- a/src/game/g_admin.c
+++ b/src/game/g_admin.c
@@ -930,7 +930,7 @@ int G_admin_level( gentity_t *ent )
if( !ent )
{
- return MAX_ADMIN_LEVELS;
+ return 1000000;
}
for( i = 0; i < MAX_ADMIN_ADMINS && g_admin_admins[ i ]; i++ )