mirror of
https://github.com/mt-mods/mail.git
synced 2025-04-30 08:21:44 -04:00
Replace inbox by sent
This commit is contained in:
parent
911c0134cf
commit
47f10f3f38
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
|
|||
if #mail.selected_idxs.sent[name] >= #getOutbox() then -- if selection is full
|
||||
mail.selected_idxs.sent[name] = {}
|
||||
else
|
||||
mail.selected_idxs.inbox[name] = {} -- reset to avoid duplicates
|
||||
mail.selected_idxs.sent[name] = {} -- reset to avoid duplicates
|
||||
mail.selected_idxs.multipleselection[name] = true
|
||||
for _, msg in ipairs(getOutbox()) do
|
||||
table.insert(mail.selected_idxs.sent[name], msg.id)
|
||||
|
|
Loading…
Add table
Reference in a new issue