AddPlayer helper
This commit is contained in:
@@ -43,6 +43,8 @@ namespace OpenRA
|
|||||||
|
|
||||||
public readonly Dictionary<int, Player> players = new Dictionary<int, Player>();
|
public readonly Dictionary<int, Player> players = new Dictionary<int, Player>();
|
||||||
|
|
||||||
|
public void AddPlayer(Player p) { players[p.Index] = p; }
|
||||||
|
|
||||||
int localPlayerIndex;
|
int localPlayerIndex;
|
||||||
public Player LocalPlayer
|
public Player LocalPlayer
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user