Merge branch 'v1.5-groins' into 'v1.5'

Fix dommages des groins

See merge request LeRatierBretonnien/foundryvtt-reve-de-dragon!307
This commit is contained in:
Leratier Bretonnien 2021-12-23 08:42:34 +00:00
commit 25429a868a
2 changed files with 16 additions and 15 deletions

View File

@ -506,7 +506,8 @@ export class RdDTMRDialog extends Dialog {
const presentCite = this.casesSpeciales.find(c => EffetsDraconiques.presentCites.isCase(c, tmr.coord)); const presentCite = this.casesSpeciales.find(c => EffetsDraconiques.presentCites.isCase(c, tmr.coord));
if (presentCite) { if (presentCite) {
this.minimize(); this.minimize();
EffetsDraconiques.presentCites.choisirUnPresent(presentCite, (type => this._utiliserPresentCite(presentCite, type, tmr, postRencontre))); const caseData = Misc.data(presentCite);
EffetsDraconiques.presentCites.choisirUnPresent(caseData, (type => this._utiliserPresentCite(presentCite, type, tmr, postRencontre)));
} }
return presentCite; return presentCite;
} }

File diff suppressed because one or more lines are too long