forked from mirror/openmw-tes3mp
[Client] Some tabs have been killed in GUIChat
This commit is contained in:
parent
8f9b831662
commit
f8a25747ba
1 changed files with 8 additions and 8 deletions
|
@ -69,14 +69,14 @@ namespace mwmp
|
||||||
{
|
{
|
||||||
const std::string &cm = mCommandLine->getOnlyText();
|
const std::string &cm = mCommandLine->getOnlyText();
|
||||||
|
|
||||||
// If they enter nothing, then it should be canceled.
|
// If they enter nothing, then it should be canceled.
|
||||||
// Otherwise, there's no way of closing without having text.
|
// Otherwise, there's no way of closing without having text.
|
||||||
if (cm.empty())
|
if (cm.empty())
|
||||||
{
|
{
|
||||||
mCommandLine->setCaption("");
|
mCommandLine->setCaption("");
|
||||||
SetEditState(0);
|
SetEditState(0);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
LOG_MESSAGE_SIMPLE(Log::LOG_INFO, "Player: %s", cm.c_str());
|
LOG_MESSAGE_SIMPLE(Log::LOG_INFO, "Player: %s", cm.c_str());
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue