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

This commit is contained in:
Vincent Vandemeulebrouck 2021-04-17 21:03:27 +02:00
parent 7ddedea204
commit b202352979

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 });
} }
} }