From ee9e7d2adb389dfd08928b57ec903a3f3fb53171 Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Tue, 24 Jan 2023 22:32:48 +0100 Subject: [PATCH] =?UTF-8?q?Messages=20comp=C3=A9tences=20troncs=20en=20not?= =?UTF-8?q?ifications?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Lors d'une création de perso, ça spamme trop le tchat --- module/actor.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/module/actor.js b/module/actor.js index f8a715a2..18bfd7b5 100644 --- a/module/actor.js +++ b/module/actor.js @@ -880,10 +880,7 @@ export class RdDActor extends RdDBaseActor { for (let troncName of tronc) { message += "
" + troncName; } - ChatMessage.create({ - whisper: ChatMessage.getWhisperRecipients(this.name), - content: message - }); + ui.notifications.info(message); } const update = { _id: competence.id, 'system.niveau': nouveauNiveau }; await this.updateEmbeddedDocuments('Item', [update]); // Updates one EmbeddedEntity