Add a UI indicator for bot players.

This commit is contained in:
Matthias Mailänder
2024-07-26 19:42:38 +02:00
committed by Gustas
parent 9761a68cd4
commit c24913ea24
24 changed files with 82 additions and 9 deletions

View File

@@ -30,7 +30,7 @@ namespace OpenRA.Mods.Common.Widgets
public SpawnOccupant(Session.Client client)
{
Color = client.Color;
PlayerName = client.IsBot ? TranslationProvider.GetString(client.Name) : client.Name;;
PlayerName = client.IsBot ? TranslationProvider.GetString(client.Name) : client.Name;
Team = client.Team;
Faction = client.Faction;
SpawnPoint = client.SpawnPoint;