Add duplicate hotkey tracking with a boolean property on the definition

This commit is contained in:
Ivaylo Draganov
2019-09-10 00:30:53 +03:00
committed by abcdefg30
parent df2300bee0
commit 32309bb8ea
2 changed files with 8 additions and 3 deletions

View File

@@ -20,6 +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 HotkeyDefinition(string name, MiniYaml node)
{