@@ -32,7 +32,7 @@ namespace OpenRA
|
|||||||
internal readonly OrderManager orderManager;
|
internal readonly OrderManager orderManager;
|
||||||
public Session LobbyInfo { get { return orderManager.LobbyInfo; } }
|
public Session LobbyInfo { get { return orderManager.LobbyInfo; } }
|
||||||
|
|
||||||
public XRandom SharedRandom = new XRandom(0);
|
public XRandom SharedRandom;
|
||||||
|
|
||||||
public readonly Dictionary<int, Player> players = new Dictionary<int, Player>();
|
public readonly Dictionary<int, Player> players = new Dictionary<int, Player>();
|
||||||
|
|
||||||
@@ -95,6 +95,8 @@ namespace OpenRA
|
|||||||
TileSet = Rules.TileSets[Map.Tileset];
|
TileSet = Rules.TileSets[Map.Tileset];
|
||||||
TileSet.LoadTiles();
|
TileSet.LoadTiles();
|
||||||
|
|
||||||
|
SharedRandom = new XRandom(orderManager.LobbyInfo.GlobalSettings.RandomSeed);
|
||||||
|
|
||||||
WorldActor = CreateActor( "World", new TypeDictionary() );
|
WorldActor = CreateActor( "World", new TypeDictionary() );
|
||||||
Queries = new AllQueries(this);
|
Queries = new AllQueries(this);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user