server picks random seed for world.SharedRandom
This commit is contained in:
@@ -234,6 +234,9 @@ namespace OpenRA
|
||||
|
||||
LobbyInfo = session;
|
||||
|
||||
if (!IsStarted)
|
||||
world.SharedRandom = new OpenRA.Thirdparty.Random(LobbyInfo.GlobalSettings.RandomSeed);
|
||||
|
||||
if (Game.orderManager.Connection.ConnectionState == ConnectionState.Connected)
|
||||
world.SetLocalPlayer(Game.orderManager.Connection.LocalClientId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user