forked from rosebudai/OpenRCT2-Web
Rename members of RegisteredShortcut
This commit is contained in:
6 files changed
+83
-83
No files matched your search
@@ -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