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

@@ -523,6 +523,11 @@ namespace OpenRA.Mods.Common.Server
server.SyncLobbyGlobalSettings();
server.SendMessage(option.ValueChangedMessage(client.Name, split[1]));
foreach (var c in server.LobbyInfo.Clients)
c.State = Session.ClientState.NotReady;
server.SyncLobbyClients();
return true;
}