mirror of
https://github.com/mt-mods/mail.git
synced 2025-04-30 08:21:44 -04:00
Fix indentation in ui/compose.lua
Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
This commit is contained in:
parent
65ec90ca27
commit
bf1d0685cb
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
|
|||
|
||||
local name = player:get_player_name()
|
||||
if fields.send then
|
||||
local id = mail.selected_idxs.message[name] or mail.new_uuid()
|
||||
local id = mail.selected_idxs.message[name] or mail.new_uuid()
|
||||
if (fields.to == "" and fields.cc == "" and fields.bcc == "") or fields.body == "" then
|
||||
-- if mail is invalid then store it as a draft
|
||||
mail.save_draft({
|
||||
|
|
Loading…
Add table
Reference in a new issue