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

@@ -73,7 +73,7 @@ namespace OpenRA.Server
return;
if (pr.LockFaction)
c.Race = pr.Faction;
c.Faction = pr.Faction;
if (pr.LockSpawn)
c.SpawnPoint = pr.Spawn;
if (pr.LockTeam)
@@ -308,7 +308,7 @@ namespace OpenRA.Server
Slot = LobbyInfo.FirstEmptySlot(),
PreferredColor = handshake.Client.Color,
Color = handshake.Client.Color,
Race = "Random",
Faction = "Random",
SpawnPoint = 0,
Team = 0,
State = Session.ClientState.Invalid,