fix dumb bugs, remove remaining 'allies' reference in server

This commit is contained in:
Chris Forbes
2010-02-10 17:28:03 +13:00
parent ea3b674d9a
commit 599537b575
3 changed files with 5 additions and 2 deletions

View File

@@ -178,6 +178,9 @@ namespace OpenRa
PlayerName = client.Name;
}
if (string.IsNullOrEmpty(client.Country))
client.Country = PlayerActor.World.GetCountries().First().Name;
if (Country.Name != client.Country)
{
Game.chat.AddLine(this, "is now playing {0}".F(client.Country));