From aa798c252b8ca6eaaac8ccdc2ee7ea3fbacb7827 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Mon, 5 Jul 2021 18:44:21 +0100 Subject: [PATCH] Remove "X has joined the game." notification when starting a Skirmish. --- OpenRA.Game/Server/Server.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenRA.Game/Server/Server.cs b/OpenRA.Game/Server/Server.cs index cb0c42c3f9..f00b42b6b0 100644 --- a/OpenRA.Game/Server/Server.cs +++ b/OpenRA.Game/Server/Server.cs @@ -481,8 +481,8 @@ namespace OpenRA.Server Log.Write("server", "{0} ({1}) has joined the game.", client.Name, newConn.EndPoint); - // Report to all other players - SendMessage($"{client.Name} has joined the game."); + if (Type != ServerType.Local) + SendMessage($"{client.Name} has joined the game."); // Send initial ping SendOrderTo(newConn, "Ping", Game.RunTime.ToString(CultureInfo.InvariantCulture));