Player can now disable emojis

This commit is contained in:
NewHappyRabbit
2025-02-16 12:18:50 -08:00
committed by Evan
parent d9f2b683d7
commit f44fd79568
9 changed files with 141 additions and 38 deletions
+1 -1
View File
@@ -322,7 +322,7 @@ export class NameLayer implements Layer {
emoji.recipientID == myPlayer?.smallID(),
);
if (emojis.length > 0) {
if (this.game.config().userSettings().emojis() && emojis.length > 0) {
if (!existingEmoji) {
const emojiDiv = document.createElement("div");
emojiDiv.setAttribute("data-icon", "emoji");