Remove from HotkeyManager hotkeys found in settings.yaml but not in hotkey definitons
This commit is contained in:
committed by
abcdefg30
parent
db8c8fee4d
commit
7dfd91bc39
@@ -34,8 +34,11 @@ namespace OpenRA
|
|||||||
}
|
}
|
||||||
|
|
||||||
foreach (var kv in settings)
|
foreach (var kv in settings)
|
||||||
|
{
|
||||||
|
if (definitions.ContainsKey(kv.Key))
|
||||||
keys[kv.Key] = kv.Value;
|
keys[kv.Key] = kv.Value;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
internal Func<Hotkey> GetHotkeyReference(string name)
|
internal Func<Hotkey> GetHotkeyReference(string name)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user