move Game.IsStarted to World.GameHasStarted

This commit is contained in:
Bob
2010-04-13 20:05:34 +12:00
parent e224c64ccc
commit 2a4460213c
5 changed files with 6 additions and 6 deletions

View File

@@ -318,7 +318,7 @@ namespace OpenRA
LobbyInfo = session;
if (!IsStarted)
if (!world.GameHasStarted)
world.SharedRandom = new OpenRA.Thirdparty.Random(LobbyInfo.GlobalSettings.RandomSeed);
if (Game.orderManager.Connection.ConnectionState == ConnectionState.Connected)
@@ -347,8 +347,6 @@ namespace OpenRA
public static void IssueOrder(Order o) { orderManager.IssueOrder(o); } /* avoid exposing the OM to mod code */
public static bool IsStarted { get { return orderManager.GameStarted; } }
public static void LoadShellMap(string map)
{
LoadMap(map);