Allow picking of a random subfaction

This commit is contained in:
abcdefg30
2015-03-06 16:02:40 +01:00
parent 687403ab89
commit 63fe578ba8
19 changed files with 65 additions and 19 deletions

View File

@@ -64,7 +64,7 @@ namespace OpenRA.Server
else
c.Color = c.PreferredColor;
if (pr.LockRace)
c.Country = pr.Race;
c.Race = pr.Race;
if (pr.LockSpawn)
c.SpawnPoint = pr.Spawn;
if (pr.LockTeam)
@@ -289,7 +289,7 @@ namespace OpenRA.Server
Slot = LobbyInfo.FirstEmptySlot(),
PreferredColor = handshake.Client.Color,
Color = handshake.Client.Color,
Country = "random",
Race = "Random",
SpawnPoint = 0,
Team = 0,
State = Session.ClientState.Invalid,