feat(Core/Player): Implement commentator tag (#17449)

* feat(Core/Player): Implement commentator tag

* remove redundant session check
This commit is contained in:
Kitzunu
2023-10-08 09:07:17 +02:00
committed by GitHub
parent 5357a31a01
commit a4e4d6ddb2
4 changed files with 69 additions and 19 deletions

View File

@@ -1294,6 +1294,8 @@ uint8 Player::GetChatTag() const
tag |= CHAT_TAG_DND;
if (isAFK())
tag |= CHAT_TAG_AFK;
if (IsCommentator())
tag |= CHAT_TAG_COM;
if (IsDeveloper())
tag |= CHAT_TAG_DEV;