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:
@@ -41,6 +41,7 @@ namespace OpenRCT2::Scripting
|
||||
{
|
||||
registeredShortcut.Default.emplace_back(binding);
|
||||
}
|
||||
registeredShortcut.Current = registeredShortcut.Default;
|
||||
shortcutManager.RegisterShortcut(std::move(registeredShortcut));
|
||||
shortcutManager.LoadUserBindings();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user