1
0
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:
Gymnasiast
2025-09-30 22:57:43 +02:00
parent a288a91331
commit b86fc3715b
6 changed files with 83 additions and 83 deletions

View File

@@ -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();
}