mirror of
https://github.com/mt-mods/mail.git
synced 2025-04-30 08:21:44 -04:00
Fix close button which makes the formspec blinking
This commit is contained in:
parent
911c0134cf
commit
408b6f2854
1 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,8 @@ end
|
|||
minetest.register_on_player_receive_fields(function(player, formname, fields)
|
||||
if formname ~= "mail:inbox" and formname ~= "mail:sent" and formname ~= "mail:drafts" then
|
||||
return
|
||||
elseif fields.quit then
|
||||
return
|
||||
end
|
||||
|
||||
-- Get player name and handle / convert common input fields
|
||||
|
|
Loading…
Add table
Reference in a new issue