unfail game start
This commit is contained in:
@@ -366,9 +366,11 @@ namespace OpenRA
|
|||||||
public static void StartGame()
|
public static void StartGame()
|
||||||
{
|
{
|
||||||
LoadMap(LobbyInfo.GlobalSettings.Map);
|
LoadMap(LobbyInfo.GlobalSettings.Map);
|
||||||
if( orderManager.GameStarted ) return;
|
if (orderManager.GameStarted) return;
|
||||||
chat.Reset();
|
chat.Reset();
|
||||||
|
|
||||||
|
world.SetLocalPlayer(orderManager.Connection.LocalClientId);
|
||||||
|
|
||||||
foreach (var c in LobbyInfo.Clients)
|
foreach (var c in LobbyInfo.Clients)
|
||||||
world.AddPlayer(new Player(world, c));
|
world.AddPlayer(new Player(world, c));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user