Rename Session.Client.Race
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user