Fix close button which makes the formspec blinking (#65)

This commit is contained in:
Athozus 2023-04-15 11:35:33 +02:00 committed by GitHub
parent 911c0134cf
commit 059fe74a1a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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