Fix #14161: ShortcutDesc.bindings does not work

This commit is contained in:
Ted John committed 2021-02-23 22:19:46 +00:00
1 parent 52dffb83c2
commit 5ba3fdf452
1 file changed
+1
+1
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();
}