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.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( );
+}