Added some debug from the server when adding a mod.

This commit is contained in:
Chris Forbes
2010-01-20 22:08:28 +13:00
parent 6194791aab
commit 73d5be067c

View File

@@ -391,6 +391,9 @@ namespace OpenRA.Server
lobbyInfo.GlobalSettings.Mods =
lobbyInfo.GlobalSettings.Mods.Concat( new[] { s } ).ToArray();
SyncLobbyInfo();
DispatchOrdersToClient(conn, 0,
new ServerOrder( conn.PlayerIndex, "Chat",
"Added mod: " + s ).Serialize() );
return true;
}
catch