mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-27 16:54:52 +01:00
Rename members of RegisteredShortcut
This commit is contained in:
@@ -43,9 +43,9 @@ namespace OpenRCT2::Scripting
|
||||
RegisteredShortcut registeredShortcut(Id, Text, [this]() { Invoke(); });
|
||||
for (const auto& binding : bindings)
|
||||
{
|
||||
registeredShortcut.Default.emplace_back(binding);
|
||||
registeredShortcut.standard.emplace_back(binding);
|
||||
}
|
||||
registeredShortcut.Current = registeredShortcut.Default;
|
||||
registeredShortcut.current = registeredShortcut.standard;
|
||||
shortcutManager.RegisterShortcut(std::move(registeredShortcut));
|
||||
shortcutManager.LoadUserBindings();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user