warn the lobby when a client joins with DEV_VERSION
This commit is contained in:
@@ -229,6 +229,10 @@ namespace OpenRA.Server
|
|||||||
|
|
||||||
SyncLobbyInfo();
|
SyncLobbyInfo();
|
||||||
SendChat(newConn, "has joined the game.");
|
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); }
|
catch (Exception) { DropClient(newConn); }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user