Suppression de vente depuis un "service"
This commit is contained in:
@ -47,7 +47,7 @@ export class RdDItemService extends RdDItem {
|
||||
async vendre(subItem) {
|
||||
const item = await RdDItem.getCorrespondingItem(subItem);
|
||||
const quantiteMax = this.system.illimite ? undefined : subItem.system.quantite;
|
||||
await item.proposerVente({ service: this, quantiteMax });
|
||||
await item.proposerVente(quantiteMax);
|
||||
}
|
||||
|
||||
async acheter(acheteur, subItem) {
|
||||
|
Reference in New Issue
Block a user