diff --git a/OpenRA.Mods.Common/Widgets/Logic/Ingame/GameInfoStatsLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/Ingame/GameInfoStatsLogic.cs index 63c64ba30c..485e8dbcac 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/Ingame/GameInfoStatsLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/Ingame/GameInfoStatsLogic.cs @@ -72,7 +72,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic } var team = item.Get("TEAM"); - var teamNumber = (client == null) ? 0 : client.Team; + var teamNumber = pp.PlayerReference.Playable ? ((client == null) ? 0 : client.Team) : pp.PlayerReference.Team; team.GetText = () => (teamNumber == 0) ? "-" : teamNumber.ToString(); playerPanel.AddChild(item); diff --git a/mods/ra/maps/fort-lonestar/map.yaml b/mods/ra/maps/fort-lonestar/map.yaml index b3720850e1..04b1f09955 100644 --- a/mods/ra/maps/fort-lonestar/map.yaml +++ b/mods/ra/maps/fort-lonestar/map.yaml @@ -41,7 +41,7 @@ Players: Playable: True AllowBots: False LockTeam: True - Team: 0 + Team: 1 LockRace: True Race: allies Allies: Multi1, Multi2, Multi3 @@ -51,7 +51,7 @@ Players: Playable: True AllowBots: False LockTeam: True - Team: 0 + Team: 1 LockRace: True Race: allies Allies: Multi0, Multi2, Multi3 @@ -61,7 +61,7 @@ Players: Playable: True AllowBots: False LockTeam: True - Team: 0 + Team: 1 LockRace: True Race: allies Allies: Multi0, Multi1, Multi3 @@ -71,7 +71,7 @@ Players: Playable: True AllowBots: False LockTeam: True - Team: 0 + Team: 1 LockRace: True Race: allies Allies: Multi0, Multi1, Multi2 @@ -79,6 +79,8 @@ Players: PlayerReference@Soviets: Name: Soviets Race: soviet + LockTeam: True + Team: 2 ColorRamp: 0,255,128 Enemies: Multi0, Multi1, Multi2, Multi3