Update HUD in mark read function

This commit is contained in:
Athozus 2023-04-03 16:37:47 +02:00 committed by GitHub
parent 0f3499f8bc
commit c36ae2fe4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,6 +50,7 @@ function mail.mark_read(playername, msg_id)
if msg.id == msg_id then
msg.read = true
mail.set_storage_entry(playername, entry)
mail.hud_update(name, entry.inbox)
return
end
end