Give ally players a yellow hp bar for team health colors

This commit is contained in:
Curtis Shmyr
2015-05-10 11:12:10 -06:00
parent 3bd4a97d11
commit 6ca51e47c1
3 changed files with 23 additions and 6 deletions

View File

@@ -35,6 +35,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
if (world.ObserveAfterWinOrLose && world.LocalPlayer.WinState != WinState.Undefined)
Game.RunAfterTick(() =>
{
world.LocalPlayer.Spectating = true;
playerRoot.RemoveChildren();
Game.LoadWidget(world, "OBSERVER_WIDGETS", playerRoot, new WidgetArgs());
});