Add some combat to the shellmap; unfail init slightly

This commit is contained in:
Paul Chote
2010-05-26 19:06:13 +12:00
parent 92ba40da1a
commit b286a71487
3 changed files with 18 additions and 15 deletions

View File

@@ -100,6 +100,16 @@ namespace OpenRA
if (kv.Value.OwnsWorld)
WorldActor.Owner = player;
}
// Add real players
SetLocalPlayer(Game.orderManager.Connection.LocalClientId);
foreach (var c in Game.LobbyInfo.Clients)
AddPlayer(new Player(this, c));
foreach (var p in players.Values)
foreach (var q in players.Values)
p.Stances[q] = Game.ChooseInitialStance(p, q);
Timer.Time( "worldActor: {0}" );