projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
936c6f5
)
Fix double sending of chat messages
author
sapier
<Sapier at GMX dot net>
Sun, 23 Mar 2014 18:15:38 +0000
(19:15 +0100)
committer
sapier
<Sapier at GMX dot net>
Sun, 23 Mar 2014 18:15:38 +0000
(19:15 +0100)
src/guiFormSpecMenu.cpp
patch
|
blob
|
history
diff --git
a/src/guiFormSpecMenu.cpp
b/src/guiFormSpecMenu.cpp
index 4751978d7d3c63bead655a24e8bd7cd20a2839e7..3f9d7f78c4b2abaf5a4f0202967795cfa128bab9 100644
(file)
--- 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;
}