This commit is contained in:
2021-05-26 16:28:57 +02:00
parent b08b330e65
commit 0e3e6eb6eb
5 changed files with 30 additions and 19 deletions

View File

@ -273,11 +273,10 @@ export class RdDTMRDialog extends Dialog {
close() {
this.actor.santeIncDec("fatigue", this.cumulFatigue).then(super.close()); // moving 1 cell costs 1 fatigue
this.actor.tmrApp = undefined; // Cleanup reference
this.actor.setStatusDemiReve(false);
if (!this.viewOnly) {
if ( !this.viewOnly ) {
this.actor.setStatusDemiReve(false);
this._tellToGM(this.actor.name + " a quitté les terres médianes");
}
ths.isClosed = true;
}
/* -------------------------------------------- */