diff --git a/engine/server/savegame.c b/engine/server/savegame.c index c35dd58dd..e41a4bb38 100644 --- a/engine/server/savegame.c +++ b/engine/server/savegame.c @@ -684,6 +684,10 @@ void SV_SaveLevelCache(qboolean dontharmgame) #ifdef Q2SERVER if (!svprogfuncs) { + char path[256]; + strcpy(path, name); + path[COM_SkipPath(name)-name] = '\0'; + Sys_mkdir(path); ge->WriteLevel(name); return; }