aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsapier <Sapier at GMX dot net>2014-03-23 19:15:38 +0100
committersapier <Sapier at GMX dot net>2014-03-23 19:15:38 +0100
commit5bd9c236d563f3c5a6e268abb13f291a915cde1c (patch)
tree7b9904168c3bfbbea381fc4bf1a133874cbfc40e /src
parent936c6f577ad70c9a467eaed58233e737671375df (diff)
downloadminetest-5bd9c236d563f3c5a6e268abb13f291a915cde1c.tar.gz
minetest-5bd9c236d563f3c5a6e268abb13f291a915cde1c.tar.bz2
minetest-5bd9c236d563f3c5a6e268abb13f291a915cde1c.zip
Fix double sending of chat messages
Diffstat (limited to 'src')
-rw-r--r--src/guiFormSpecMenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guiFormSpecMenu.cpp b/src/guiFormSpecMenu.cpp
index 4751978d7..3f9d7f78c 100644
--- a/src/guiFormSpecMenu.cpp
+++ b/src/guiFormSpecMenu.cpp
@@ -2702,7 +2702,6 @@ bool GUIFormSpecMenu::OnEvent(const SEvent& event)
(s.fid == event.GUIEvent.Caller->getID()))
{
s.send = true;
- acceptInput();
if(s.is_exit){
if (m_allowclose) {
acceptInput(quit_mode_accept);
@@ -2712,6 +2711,7 @@ bool GUIFormSpecMenu::OnEvent(const SEvent& event)
}
return true;
}else{
+ acceptInput();
s.send = false;
return true;
}