mirror of
https://github.com/mt-mods/mail.git
synced 2025-07-13 18:01:54 -04:00
Message reply fixes (#78)
* Fix reply buttons in message list * Give a default boxtab value (fix trivial issues)
This commit is contained in:
parent
1a84c66346
commit
7449aaca52
2 changed files with 9 additions and 6 deletions
|
@ -2,6 +2,9 @@
|
|||
|
||||
function mail.show_mail_menu(playername, sortfield, sortdirection, filter)
|
||||
local index = mail.selected_idxs.boxtab[playername] or 1
|
||||
if not mail.selected_idxs.boxtab[playername] then
|
||||
mail.selected_idxs.boxtab[playername] = 1
|
||||
end
|
||||
if index == 1 then
|
||||
mail.show_inbox(playername, sortfield, sortdirection, filter)
|
||||
elseif index == 2 then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue