Make control group hotkeys configurable
- Split control groups management to its own interface - Add hotkeys for selecting, creating, adding to and combining with control groups - Add a ControlGroups widget to manage the player interaction
This commit is contained in:
committed by
abcdefg30
parent
04b456d6c2
commit
7a93b9ea8c
@@ -55,7 +55,7 @@ namespace OpenRA.Mods.Common.Traits.Render
|
||||
|
||||
IEnumerable<IRenderable> IDecoration.RenderDecoration(Actor self, WorldRenderer wr, ISelectionDecorations container)
|
||||
{
|
||||
var group = self.World.Selection.GetControlGroupForActor(self);
|
||||
var group = self.World.ControlGroups.GetControlGroupForActor(self);
|
||||
if (group == null)
|
||||
return Enumerable.Empty<IRenderable>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user