Migrate hotkey consumers to HotkeyManager.

This commit is contained in:
Paul Chote
2017-10-28 09:12:54 +01:00
committed by abcdefg30
parent 35a3df3736
commit 2f79173044
21 changed files with 51 additions and 64 deletions

View File

@@ -275,7 +275,7 @@ namespace OpenRA
}
else if (fieldType == typeof(HotkeyReference))
{
return new HotkeyReference(value, Game.Settings.Keys);
return Game.ModData.Hotkeys[value];
}
else if (fieldType == typeof(WDist))
{