Make remove from control group hotkey available only to players

This commit is contained in:
Ivaylo Draganov
2022-02-04 20:12:40 +02:00
committed by Smittytron
parent c096934db8
commit f5ab9d95fe
7 changed files with 16 additions and 6 deletions

View File

@@ -25,7 +25,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic.Ingame
[ObjectCreator.UseCtor]
public RemoveFromControlGroupHotkeyLogic(Widget widget, ModData modData, World world, Dictionary<string, MiniYaml> logicArgs)
: base(widget, modData, "RemoveFromControlGroupKey", "WORLD_KEYHANDLER", logicArgs)
: base(widget, modData, "RemoveFromControlGroupKey", "PLAYER_KEYHANDLER", logicArgs)
{
selection = world.Selection;
this.world = world;