Merge branch 'v1.4-fix' into 'v1.4'

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

See merge request LeRatierBretonnien/foundryvtt-reve-de-dragon!207
This commit is contained in:
Leratier Bretonnien 2021-04-18 06:38:44 +00:00
commit b7c913ac50

View File

@ -1248,7 +1248,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 });
} }
} }