move Session back to Game

This commit is contained in:
Chris Forbes
2010-08-23 18:31:43 +12:00
parent aeccf53e97
commit 09d9396123
6 changed files with 12 additions and 10 deletions

View File

@@ -187,7 +187,7 @@ namespace OpenRA
LobbyInfo = session;
if( !world.GameHasStarted )
world.SharedRandom = new OpenRA.Thirdparty.Random( LobbyInfo.GlobalSettings.RandomSeed );
world.SharedRandom = new XRandom( LobbyInfo.GlobalSettings.RandomSeed );
if (orderManager.Connection.ConnectionState == ConnectionState.Connected)
world.SetLocalPlayer(orderManager.Connection.LocalClientId);