Merge pull request #11881 from reaperrr/always-visible-bar

Allow keeping empty selection bars visible
This commit is contained in:
Oliver Brakmann
2016-08-26 14:56:29 +02:00
committed by GitHub
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