]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/g_world.qc
fix CommonCommand_time prints, and make autoscreenshots go to their own directly...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / g_world.qc
index 9f4cc194836c71438d22674c1195644e34c110c8..01cbc54ab4fadc55f04f1725a7fc1b20a6366622 100644 (file)
@@ -1381,8 +1381,7 @@ void IntermissionThink()
                && ((self.autoscreenshot > 0) && (time > self.autoscreenshot)) )
        {
                self.autoscreenshot = -1;
-               if(clienttype(self) == CLIENTTYPE_REAL)
-                       stuffcmd(self, "\nscreenshot\necho \"^5A screenshot has been taken at request of the server.\"\n");
+               if(clienttype(self) == CLIENTTYPE_REAL) { stuffcmd(self, sprintf("\nautoscreenshot \"%s\" \"%s\"\n", GetMapname(), strftime(FALSE, "%s"))); }
                return;
        }