From 401cc868110236bfcca479cc9b2d491ba945791c Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Mon, 14 Jun 2021 23:42:24 +0200 Subject: [PATCH] Fix: suppression du message si qty=0 --- module/actor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/actor.js b/module/actor.js index 4d3012bb..d30d2b72 100644 --- a/module/actor.js +++ b/module/actor.js @@ -3594,7 +3594,7 @@ export class RdDActor extends Actor { if (!vente.quantiteIllimite) { if (vente.quantiteNbLots <= achat.nombreLots) { - ChatUtility.removeChatMessageId(chatMessageIdVente); + ChatUtility.removeChatMessageId(achat.chatMessageIdVente); } else { vente["properties"] = new RdDItem(vente.item).getProprietes();