fix double remove in destroyKeyboard
This commit is contained in:
parent
85d1b06a79
commit
9ba93f4b0a
1 changed files with 2 additions and 3 deletions
|
|
@ -814,8 +814,7 @@ void CInputManager::destroyKeyboard(SKeyboard* pKeyboard) {
|
||||||
} else {
|
} else {
|
||||||
m_pActiveKeyboard = nullptr;
|
m_pActiveKeyboard = nullptr;
|
||||||
}
|
}
|
||||||
}
|
} else
|
||||||
|
|
||||||
m_lKeyboards.remove(*pKeyboard);
|
m_lKeyboards.remove(*pKeyboard);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue