Add a server log line for player joins.

This commit is contained in:
Paul Chote
2015-11-28 10:38:47 +00:00
parent 5c083fa6de
commit 92e6efd45c

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));