Fix close button which makes the formspec blinking

This commit is contained in:
Athozus 2023-04-15 11:32:22 +02:00
parent 911c0134cf
commit 408b6f2854
No known key found for this signature in database
GPG key ID: B50895022E8484BF

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