mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-28 01:04:50 +01:00
Rename members of ShortcutManager
This commit is contained in:
@@ -46,14 +46,14 @@ namespace OpenRCT2::Scripting
|
||||
registeredShortcut.standard.emplace_back(binding);
|
||||
}
|
||||
registeredShortcut.current = registeredShortcut.standard;
|
||||
shortcutManager.RegisterShortcut(std::move(registeredShortcut));
|
||||
shortcutManager.LoadUserBindings();
|
||||
shortcutManager.registerShortcut(std::move(registeredShortcut));
|
||||
shortcutManager.loadUserBindings();
|
||||
}
|
||||
|
||||
CustomShortcut::~CustomShortcut()
|
||||
{
|
||||
auto& shortcutManager = GetShortcutManager();
|
||||
shortcutManager.RemoveShortcut(Id);
|
||||
shortcutManager.removeShortcut(Id);
|
||||
}
|
||||
|
||||
void CustomShortcut::Invoke() const
|
||||
|
||||
Reference in New Issue
Block a user