From a4e1915affb3b8dea12997e1f546dc19ca1150a2 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Mon, 9 Apr 2012 09:40:22 +1200 Subject: [PATCH] warn the lobby when a client joins with DEV_VERSION --- OpenRA.Game/Server/Server.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/OpenRA.Game/Server/Server.cs b/OpenRA.Game/Server/Server.cs index bee618b478..e50101bb5b 100644 --- a/OpenRA.Game/Server/Server.cs +++ b/OpenRA.Game/Server/Server.cs @@ -229,6 +229,10 @@ namespace OpenRA.Server SyncLobbyInfo(); SendChat(newConn, "has joined the game."); + + if (mods.Any(m => m.Contains("{DEV_VERSION}"))) + SendChat(newConn, "is running a development version, "+ + "and may cause desync if they have any incompatible changes."); } catch (Exception) { DropClient(newConn); } }