]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/cl_player.qc
dedicated_print: switch from `LOG_INFO` to `print`
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / cl_player.qc
index ed6291cdb92521024c9d5966380ff84f871061eb..8aaf68cda69dac1753364cfe1e84cd07c10129c3 100644 (file)
@@ -657,6 +657,12 @@ void MoveToTeam(entity client, int team_colour, int type)
        LogTeamchange(client.playerid, client.team, type);
 }
 
+/** print(), but only print if the server is not local */
+void dedicated_print(string input)
+{
+       if (server_is_dedicated) print(input);
+}
+
 /**
  * message "": do not say, just test flood control
  * return value: