fix double remove in destroyKeyboard

This commit is contained in:
Vaxry 2023-01-02 12:08:00 +01:00
parent 85d1b06a79
commit 9ba93f4b0a

View file

@ -814,8 +814,7 @@ void CInputManager::destroyKeyboard(SKeyboard* pKeyboard) {
} else {
m_pActiveKeyboard = nullptr;
}
}
} else
m_lKeyboards.remove(*pKeyboard);
}