contacts refactoring

This commit is contained in:
BuckarooBanzay 2023-03-28 14:36:20 +02:00 committed by Athozus
parent b414ace620
commit a690fc721d
No known key found for this signature in database
GPG key ID: B50895022E8484BF
6 changed files with 45 additions and 81 deletions

View file

@ -2,7 +2,7 @@
function mail.compile_contact_list(name, selected, playernames)
-- TODO: refactor this - not just compiles *a* list, but *the* list for the contacts screen (too inflexible)
local formspec = {}
local contacts = mail.getPlayerContacts(name)
local contacts = mail.get_contacts(name)
if playernames == nil then
local length = 0