mirror of
https://github.com/mt-mods/mail.git
synced 2025-07-06 06:30:34 -04:00
10 lines
No EOL
274 B
Lua
10 lines
No EOL
274 B
Lua
-- helper function for tabbed overview
|
|
|
|
function mail.show_mail_menu(playername)
|
|
local index = mail.selected_idxs.boxtab[playername] or 1
|
|
if index == 1 then
|
|
mail.show_inbox(playername)
|
|
elseif index == 2 then
|
|
mail.show_sent(playername)
|
|
end
|
|
end |