Remove from HotkeyManager hotkeys found in settings.yaml but not in hotkey definitons

This commit is contained in:
Ivaylo Draganov
2019-05-10 13:47:50 +03:00
committed by abcdefg30
parent db8c8fee4d
commit 7dfd91bc39

View File

@@ -34,7 +34,10 @@ namespace OpenRA
}
foreach (var kv in settings)
keys[kv.Key] = kv.Value;
{
if (definitions.ContainsKey(kv.Key))
keys[kv.Key] = kv.Value;
}
}
internal Func<Hotkey> GetHotkeyReference(string name)