Allow keeping empty selection bars visible

This commit is contained in:
reaperrr
2016-05-15 22:31:44 +02:00
parent af8bd461c7
commit 39034b0de9
11 changed files with 13 additions and 2 deletions

View File

@@ -128,6 +128,7 @@ namespace OpenRA.Mods.RA.Traits
}
Color ISelectionBar.GetColor() { return info.TimeBarColor; }
bool ISelectionBar.DisplayWhenEmpty { get { return false; } }
public void ModifyDeathActorInit(Actor self, TypeDictionary init)
{

View File

@@ -118,6 +118,7 @@ namespace OpenRA.Mods.RA.Traits
}
Color ISelectionBar.GetColor() { return Color.Magenta; }
bool ISelectionBar.DisplayWhenEmpty { get { return false; } }
}
class PortableChronoOrderTargeter : IOrderTargeter