Reset lobby ready state when options change server side.

This commit is contained in:
Matthias Mailänder
2020-09-06 14:03:46 +02:00
committed by abcdefg30
parent 2e438f1da9
commit 930f8ab207
2 changed files with 5 additions and 3 deletions

View File

@@ -295,10 +295,7 @@ namespace OpenRA.Network
{
var strings = node.Key.Split('@');
if (strings[0] == "GlobalSettings")
{
orderManager.LobbyInfo.GlobalSettings = Session.Global.Deserialize(node.Value);
orderManager.IssueOrder(Order.Command("state {0}".F(Session.ClientState.NotReady)));
}
}
SetOrderLag(orderManager);