1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Send a on_receive_fields event when formspec is closed, with fields.quit = "true"

This commit is contained in:
Novatux 2013-10-26 09:56:38 +02:00
parent 06a5eceb81
commit 0b78889289
2 changed files with 21 additions and 11 deletions

View file

@ -227,7 +227,7 @@ public:
void updateSelectedItem();
ItemStack verifySelectedItem();
void acceptInput();
void acceptInput(bool quit);
bool preprocessEvent(const SEvent& event);
bool OnEvent(const SEvent& event);