X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fcommand%2Fcommon.qc;h=f7982a1588a62ba7de80812bdaef4e2ea4ad87be;hb=61c5451451521f4ec644a741b55c2321dbe30c03;hp=93672bc0d3a9f170731e4af10b4aeb01e9bff8af;hpb=f9c749823e058ab1e5dfbaadca1eb7cdb8705458;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/command/common.qc b/qcsrc/server/command/common.qc index 93672bc0d..f7982a158 100644 --- a/qcsrc/server/command/common.qc +++ b/qcsrc/server/command/common.qc @@ -347,13 +347,13 @@ void CommonCommand_time(float request, entity caller) { case CMD_REQUEST_COMMAND: { - print_to(caller, strcat("time = ", ftos(time), "\n")); - print_to(caller, strcat("frame start = ", ftos(gettime(GETTIME_FRAMESTART)), "\n")); - print_to(caller, strcat("realtime = ", ftos(gettime(GETTIME_REALTIME)), "\n")); - print_to(caller, strcat("hires = ", ftos(gettime(GETTIME_HIRES)), "\n")); - print_to(caller, strcat("uptime = ", ftos(gettime(GETTIME_UPTIME)), "\n")); - print_to(caller, strcat("localtime = ", strftime(TRUE, "%a %b %e %H:%M:%S %Z %Y"), "\n")); // todo: Why is strftime broken? is engine problem, I think. - print_to(caller, strcat("gmtime = ", strftime(FALSE, "%a %b %e %H:%M:%S %Z %Y"), "\n")); + print_to(caller, strcat("time = ", ftos(time))); + print_to(caller, strcat("frame start = ", ftos(gettime(GETTIME_FRAMESTART)))); + print_to(caller, strcat("realtime = ", ftos(gettime(GETTIME_REALTIME)))); + print_to(caller, strcat("hires = ", ftos(gettime(GETTIME_HIRES)))); + print_to(caller, strcat("uptime = ", ftos(gettime(GETTIME_UPTIME)))); + print_to(caller, strcat("localtime = ", strftime(TRUE, "%a %b %e %H:%M:%S %Z %Y"))); // todo: Why is strftime broken? is engine problem, I think. + print_to(caller, strcat("gmtime = ", strftime(FALSE, "%a %b %e %H:%M:%S %Z %Y"))); return; }