warn the lobby when a client joins with DEV_VERSION

This commit is contained in:
Chris Forbes
2012-04-09 09:40:22 +12:00
parent 9d2833fc2b
commit a4e1915aff

View File

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