mirror of
https://github.com/mt-mods/mail.git
synced 2025-07-16 03:06:42 -04:00
Fix close button which makes the formspec blinking (#65)
This commit is contained in:
parent
911c0134cf
commit
059fe74a1a
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
Add a link
Reference in a new issue