order latency via lobbyinfo

This commit is contained in:
Chris Forbes
2010-01-16 11:22:01 +13:00
parent 705954ebca
commit b0fed3be91
3 changed files with 12 additions and 17 deletions

View File

@@ -216,8 +216,8 @@ namespace OpenRA.Server
Console.WriteLine("Order lag is now {0} frames.", lag);
DispatchOrders(null, 0,
new ServerOrder(0, "SetLag", lag.ToString()).Serialize());
lobbyInfo.GlobalSettings.OrderLatency = lag;
SyncLobbyInfo();
return true;
}},
{ "race",