mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Revert changes to special 'Proceed' button handling
This commit is contained in:
parent
da7897a822
commit
bcf5e5a1cc
1 changed files with 8 additions and 3 deletions
|
@ -4849,9 +4849,14 @@ bool GUIFormSpecMenu::OnEvent(const SEvent& event)
|
|||
s32 caller_id = event.GUIEvent.Caller->getID();
|
||||
|
||||
if (caller_id == 257) {
|
||||
if (m_allowclose) {
|
||||
acceptInput(quit_mode_accept);
|
||||
m_text_dst->gotText(L"ExitButton");
|
||||
quitMenu();
|
||||
}
|
||||
else {
|
||||
acceptInput();
|
||||
m_text_dst->gotText(L"ExitButton");
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue