Messages compétences troncs en notifications
Lors d'une création de perso, ça spamme trop le tchat
This commit is contained in:
parent
fa3334273d
commit
ee9e7d2adb
@ -880,10 +880,7 @@ export class RdDActor extends RdDBaseActor {
|
||||
for (let troncName of tronc) {
|
||||
message += "<br>" + 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
|
||||
|
Loading…
Reference in New Issue
Block a user