mirror of
https://github.com/mt-mods/mail.git
synced 2025-07-17 19:56:37 -04:00
Fix HUD notification
This commit is contained in:
parent
2d7e1993c7
commit
a7e4ad1777
3 changed files with 5 additions and 1 deletions
2
hud.lua
2
hud.lua
|
@ -43,7 +43,7 @@ function mail.hud_update(playername, messages)
|
|||
|
||||
local unreadcount = 0
|
||||
for _, message in ipairs(messages) do
|
||||
if message.unread then
|
||||
if not message.read then
|
||||
unreadcount = unreadcount + 1
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue