Sanity check for text input in toggleWalking

pull/541/head
terrabyte25 6 years ago committed by GitHub
parent 97aa6f58e3
commit c31fa3074e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1173,7 +1173,7 @@ namespace MWInput
void InputManager::toggleWalking()
{
if (MWBase::Environment::get().getWindowManager()->isGuiMode()) return;
if (MWBase::Environment::get().getWindowManager()->isGuiMode() || SDL_IsTextInputActive()) return;
mAlwaysRunActive = !mAlwaysRunActive;
Settings::Manager::setBool("always run", "Input", mAlwaysRunActive);

Loading…
Cancel
Save