]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/intermission.qc
Autoscreenshot: write the actual match ID in the screenshot name so that it's possibl...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / intermission.qc
index 7fe38c6500f239eb7756259cbd82337340f9c09c..ae753d275095fdfc084c74a9f3ce0e18ef29fa9d 100644 (file)
@@ -443,9 +443,8 @@ void IntermissionThink(entity this)
                this.autoscreenshot = -1;
                if(IS_REAL_CLIENT(this))
                {
-                       string num = strftime_s(); // strftime(false, "%s") isn't reliable, see strftime_s description
                        stuffcmd(this, sprintf("\ncl_autoscreenshot_screenshot %s %s; "
-                               "echo \"^5A screenshot has been taken at request of the server.\"\n", GetMapname(), num));
+                               "echo \"^5A screenshot has been taken at request of the server.\"\n", GetMapname(), matchid));
                }
                return;
        }