]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_save.c
server: always use correct case for map names
[xonotic/darkplaces.git] / sv_save.c
index db8764fcce492f83d0669590de3ff8e46a7e4620..414e97a9b7a4716fee30f3bbc36cdb7a47cf1ee5 100644 (file)
--- a/sv_save.c
+++ b/sv_save.c
@@ -76,7 +76,7 @@ void SV_Savegame_to(prvm_prog_t *prog, const char *name)
                for (i=0 ; i<NUM_SPAWN_PARMS ; i++)
                        FS_Printf(f, "%f\n", svs.clients[0].spawn_parms[i]);
                FS_Printf(f, "%d\n", current_skill);
-               FS_Printf(f, "%s\n", sv.name);
+               FS_Printf(f, "%s\n", sv.worldbasename);
                FS_Printf(f, "%f\n",sv.time);
        }
        else