added ToString() for OpenRA.Player

This commit is contained in:
Sascha Biedermann
2013-04-07 17:01:55 +02:00
parent bed26c3dee
commit 2fb12f755a
2 changed files with 5 additions and 1 deletions

View File

@@ -91,6 +91,11 @@ namespace OpenRA
}
}
public override string ToString()
{
return "{0} ({1})".F(PlayerName, ClientIndex);
}
public Dictionary<Player, Stance> Stances = new Dictionary<Player, Stance>();
}
}