We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c38d9d commit 55bb0e5Copy full SHA for 55bb0e5
HCMInternal/HotkeyManager.cpp
@@ -216,9 +216,15 @@ void HotkeyManagerImpl::deserialiseHotkey(std::shared_ptr<RebindableHotkey> hotk
216
if (newBindings.empty())
217
{
218
PLOG_VERBOSE << "empty newBindings";
219
- //hotkey->setBindings(hotkey->getBindings());
220
return;
221
}
+
222
+ if (newBindings.size() > 20)
223
+ {
224
+ PLOG_ERROR << "newBindings size was over 20 - probably from glitched command console hotkey bug";
225
+ return;
226
+ }
227
228
hotkey->setBindings(newBindings);
229
230
PLOG_VERBOSE << "hotkey loaded with " << newBindings.size() << " binding sets";
0 commit comments