Ignore hotkeys if the game has not started.
This commit is contained in:
parent
b9fb6ad3e8
commit
fc8ea9c3b3
|
@ -947,6 +947,9 @@ void CFrame::OnGameListCtrl_ItemActivated(wxListEvent& WXUNUSED (event))
|
|||
|
||||
static bool IsHotkey(wxKeyEvent &event, int Id, bool keyUp = false)
|
||||
{
|
||||
if (Core::GetState() == Core::CORE_UNINITIALIZED)
|
||||
return false;
|
||||
|
||||
// Input event hotkey
|
||||
if (event.GetKeyCode() == WXK_NONE)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue