diff --git a/OpenRA.Game/World.cs b/OpenRA.Game/World.cs index 82cd774d84..0bfc04eb99 100644 --- a/OpenRA.Game/World.cs +++ b/OpenRA.Game/World.cs @@ -32,7 +32,7 @@ namespace OpenRA internal readonly OrderManager orderManager; public Session LobbyInfo { get { return orderManager.LobbyInfo; } } - public XRandom SharedRandom = new XRandom(0); + public XRandom SharedRandom; public readonly Dictionary players = new Dictionary(); @@ -95,6 +95,8 @@ namespace OpenRA TileSet = Rules.TileSets[Map.Tileset]; TileSet.LoadTiles(); + SharedRandom = new XRandom(orderManager.LobbyInfo.GlobalSettings.RandomSeed); + WorldActor = CreateActor( "World", new TypeDictionary() ); Queries = new AllQueries(this);