From: Mircea Kitsune Date: Fri, 28 Oct 2011 13:09:22 +0000 (+0300) Subject: Properly store map name in the text file X-Git-Tag: xonotic-v0.6.0~35^2~18^2~84 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=dad41f52a6d62195917b2cecbf40d4fc459f7451;p=xonotic%2Fxonotic-data.pk3dir.git Properly store map name in the text file --- diff --git a/qcsrc/server/mutators/sandbox.qc b/qcsrc/server/mutators/sandbox.qc index 3e22c3adf..02686cb0d 100644 --- a/qcsrc/server/mutators/sandbox.qc +++ b/qcsrc/server/mutators/sandbox.qc @@ -207,7 +207,7 @@ void sandbox_Storage_DatabaseSave() string fn; float fh; - fn = strcat("sandbox/storage_", MapInfo_Map_bspname, ".txt"); + fn = strcat("sandbox/storage_", GetMapname(), ".txt"); fh = fopen(fn, FILE_WRITE); for(head = world; (head = find(head, classname, "object")); ) {