diff --git a/apps/openmw/mwmp/GUIChat.cpp b/apps/openmw/mwmp/GUIChat.cpp index a8cbd656b..79b9a079b 100644 --- a/apps/openmw/mwmp/GUIChat.cpp +++ b/apps/openmw/mwmp/GUIChat.cpp @@ -69,14 +69,14 @@ namespace mwmp { const std::string &cm = mCommandLine->getOnlyText(); - // If they enter nothing, then it should be canceled. - // Otherwise, there's no way of closing without having text. - if (cm.empty()) - { - mCommandLine->setCaption(""); - SetEditState(0); - return; - } + // If they enter nothing, then it should be canceled. + // Otherwise, there's no way of closing without having text. + if (cm.empty()) + { + mCommandLine->setCaption(""); + SetEditState(0); + return; + } LOG_MESSAGE_SIMPLE(Log::LOG_INFO, "Player: %s", cm.c_str());