Gestions des tentatives #510
@ -3617,10 +3617,7 @@ export class RdDActor extends Actor {
|
||||
return;
|
||||
}
|
||||
if (!Misc.isElectedUser()) {
|
||||
RdDActor.remoteActorCall({
|
||||
actorId: achat.vendeurId ?? achat.acheteurId,
|
||||
method: 'achatVente', args: [achat]
|
||||
});
|
||||
RdDActor.remoteActorCall({actorId: achat.vendeurId ?? achat.acheteurId, method: 'achatVente', args: [achat]});
|
||||
return;
|
||||
}
|
||||
|
||||
@ -3678,6 +3675,7 @@ export class RdDActor extends Actor {
|
||||
const chatAchatItem = duplicate(vente);
|
||||
chatAchatItem.quantiteTotal = achat.quantiteTotal;
|
||||
ChatMessage.create({
|
||||
user: achat.userId,
|
||||
speaker: {alias: (acheteur ?? vendeur).name} ,
|
||||
whisper: ChatUtility.getWhisperRecipientsAndGMs(this.name),
|
||||
content: await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/chat-achat-item.html', chatAchatItem)
|
||||
|
Loading…
Reference in New Issue
Block a user