summaryrefslogtreecommitdiff
path: root/src/game/g_admin.c
diff options
context:
space:
mode:
authorTremulous Test Server <tremtest@d1stkfactory>2015-01-07 22:59:50 +0000
committerTremulous Test Server <tremtest@d1stkfactory>2015-01-07 22:59:50 +0000
commit96f8e06ec9aa117bb8dd7e8d671d93e3884cb98f (patch)
tree49d2bd62aa66724626cddc988047c289fb0616b2 /src/game/g_admin.c
parent743658c1f63e0bb328247912f85050898bf51881 (diff)
Added G_admin_writeconfig and changed outside calls to use that.
Diffstat (limited to 'src/game/g_admin.c')
-rw-r--r--src/game/g_admin.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c
index 0677e6f..b6e115b 100644
--- a/src/game/g_admin.c
+++ b/src/game/g_admin.c
@@ -4539,3 +4539,7 @@ void G_admin_cleanup( void )
BG_DefragmentMemory( );
}
+void G_admin_writeconfig( void )
+{
+ if ( g_admin_levels ) admin_writeconfig( );
+}