1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 11:33:03 +01:00

Fix #14161: ShortcutDesc.bindings does not work

This commit is contained in:
Ted John
2021-02-23 22:19:46 +00:00
parent 52dffb83c2
commit 5ba3fdf452

View File

@@ -41,6 +41,7 @@ namespace OpenRCT2::Scripting
{
registeredShortcut.Default.emplace_back(binding);
}
registeredShortcut.Current = registeredShortcut.Default;
shortcutManager.RegisterShortcut(std::move(registeredShortcut));
shortcutManager.LoadUserBindings();
}