Set duplicates flag for hotkeys in HotkeyManager

This commit is contained in:
Ivaylo Draganov
2019-09-30 02:34:37 +03:00
committed by abcdefg30
parent 38f5d2c100
commit ad02adff3e
3 changed files with 18 additions and 7 deletions

View File

@@ -20,7 +20,7 @@ namespace OpenRA
public readonly Hotkey Default = Hotkey.Invalid;
public readonly string Description = "";
public readonly HashSet<string> Types = new HashSet<string>();
public bool HasDuplicates = false;
public bool HasDuplicates { get; internal set; }
public HotkeyDefinition(string name, MiniYaml node)
{