From 7318b779ec7d9328494dfb4011da7ed93dc07a3e Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Wed, 3 Feb 2021 20:40:16 +0100 Subject: [PATCH] fix ChatMessage des queues/tetes/souffles --- module/actor.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/module/actor.js b/module/actor.js index b1b570c9..24ccb9cf 100644 --- a/module/actor.js +++ b/module/actor.js @@ -1029,7 +1029,7 @@ export class RdDActor extends Actor { await this.createOwnedItem(souffle); if (options.chat) { ChatMessage.create({ - whisper: ChatMessage.getWhisperRecipients([ "GM", game.user.name] ), + whisper: ChatUtility.getWhisperRecipientsAndGMs(game.user.name), content: this.name + " subit un Souffle de Dragon : " + souffle.name }); } @@ -1051,7 +1051,7 @@ export class RdDActor extends Actor { await this.createOwnedItem(queue); if (options.chat) { ChatMessage.create({ - whisper: ChatMessage.getWhisperRecipients([ "GM", game.user.name] ), + whisper: ChatUtility.getWhisperRecipientsAndGMs(game.user.name), content: this.name + " subit une Queue de Dragon : " + queue.name }); } @@ -1085,7 +1085,7 @@ export class RdDActor extends Actor { } if (content) { ChatMessage.create({ - whisper: ChatMessage.getWhisperRecipients([ "GM", game.user.name] ), + whisper: ChatUtility.getWhisperRecipientsAndGMs(game.user.name), content: content }); }