summaryrefslogtreecommitdiff
path: root/source/sv_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/sv_init.c')
-rw-r--r--source/sv_init.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/source/sv_init.c b/source/sv_init.c
index b8b0090..339ac4b 100644
--- a/source/sv_init.c
+++ b/source/sv_init.c
@@ -188,7 +188,14 @@ void SV_InitGame( qboolean ismvd ) {
Cvar_Reset( sv_recycle );
#endif
- CL_LocalConnect();
+ // restart filesystem now
+ if( FS_NeedRestart() ) {
+#if USE_CLIENT
+ CL_RestartFilesystem( qfalse );
+#else
+ FS_Restart( qfalse );
+#endif
+ }
if( ismvd ) {
Cvar_Set( "deathmatch", "1" );