Merge branch 'master-fix' into 'master'

Fix: après dérobade, impossible ouvrir fiche

See merge request LeRatierBretonnien/foundryvtt-reve-de-dragon!208
This commit is contained in:
Leratier Bretonnien 2021-04-18 06:39:12 +00:00
commit db9cbc693a

View File

@ -1145,7 +1145,7 @@ export class RdDActor extends Actor {
let newRencontres = rencontres.filter(it => it.coord != this.getDemiReve()); let newRencontres = rencontres.filter(it => it.coord != this.getDemiReve());
if (newRencontres.length == rencontres.length) { if (newRencontres.length == rencontres.length) {
newRencontres.push(currentRencontre); newRencontres.push(currentRencontre);
await this.update({ "data.reve.rencontre": newRencontres }); await this.update({ "data.reve.rencontre.list": newRencontres });
} }
} }