mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix double sending of chat messages
This commit is contained in:
parent
936c6f577a
commit
5bd9c236d5
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue