diff --git a/OpenRA.Game/World.cs b/OpenRA.Game/World.cs index 545a1c8e90..2b1e45d797 100644 --- a/OpenRA.Game/World.cs +++ b/OpenRA.Game/World.cs @@ -43,6 +43,8 @@ namespace OpenRA public readonly Dictionary players = new Dictionary(); + public void AddPlayer(Player p) { players[p.Index] = p; } + int localPlayerIndex; public Player LocalPlayer {