Fix: erreur sur echec particulier en méditation

This commit is contained in:
Vincent Vandemeulebrouck 2021-12-16 00:17:08 +01:00
parent 48feecdc0a
commit e9eba84ae4

View File

@ -2830,7 +2830,7 @@ export class RdDActor extends Actor {
/* -------------------------------------------- */
_meditationEPart(meditationData) {
this.updateEmbeddedDocuments('Item', [{ _id: meditation._id, 'data.malus': meditationData.meditation.data.malus - 1 }]);
this.updateEmbeddedDocuments('Item', [{ _id: meditationData._id, 'data.malus': meditationData.meditation.data.malus - 1 }]);
}