Store last color setting; hook server join in a cleaner way
This commit is contained in:
@@ -55,9 +55,6 @@ namespace OpenRA
|
||||
public void SetLocalPlayer(int index)
|
||||
{
|
||||
localPlayerIndex = index;
|
||||
if (Game.LobbyInfo.Clients.Count > 0 && !string.IsNullOrEmpty(Game.Settings.PlayerName)
|
||||
&& Game.LobbyInfo.Clients[index].Name != Game.Settings.PlayerName)
|
||||
Game.IssueOrder(Order.Command("name " + Game.Settings.PlayerName));
|
||||
}
|
||||
|
||||
public readonly Actor WorldActor;
|
||||
|
||||
Reference in New Issue
Block a user