Rename Session.Client.Race

This commit is contained in:
Pavel Penev
2015-08-05 17:45:56 +03:00
parent 50f4508123
commit 5eaf5b5b51
8 changed files with 25 additions and 24 deletions

View File

@@ -277,7 +277,7 @@ namespace OpenRA.Mods.Common.Server
Name = botType,
Bot = botType,
Slot = parts[0],
Race = "Random",
Faction = "Random",
SpawnPoint = 0,
Team = 0,
State = Session.ClientState.NotReady,
@@ -752,7 +752,7 @@ namespace OpenRA.Mods.Common.Server
if (server.LobbyInfo.Slots[targetClient.Slot].LockRace)
return true;
targetClient.Race = parts[1];
targetClient.Faction = parts[1];
server.SyncLobbyClients();
return true;
}