1
0
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:
Gymnasiast
2025-09-30 23:05:23 +02:00
parent b86fc3715b
commit 61c3b3fc86
8 changed files with 165 additions and 165 deletions

View File

@@ -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