Merge pull request #10131 from pchote/add-join-logging

Add a server log line for player joins.
This commit is contained in:
Oliver Brakmann
2015-11-28 15:44:59 +01:00

View File

@@ -372,6 +372,9 @@ namespace OpenRA.Server
SyncLobbyInfo();
Log.Write("server", "{0} ({1}) has joined the game.",
client.Name, newConn.Socket.RemoteEndPoint);
if (!LobbyInfo.IsSinglePlayer)
SendMessage("{0} has joined the game.".F(client.Name));