Fix HUD notification

This commit is contained in:
Athozus 2023-04-01 19:14:02 +02:00
parent 2d7e1993c7
commit a7e4ad1777
No known key found for this signature in database
GPG key ID: B50895022E8484BF
3 changed files with 5 additions and 1 deletions

View file

@ -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