#16 Gestion des critiques en combat
This commit is contained in:
@ -99,7 +99,7 @@ export class RdDRollDialog extends Dialog {
|
||||
$("#carac").val(rollData.competence.data.defaut_carac);
|
||||
}
|
||||
// Si sort, for les points de reve à 1
|
||||
if (!rollData.selectedSort.data.ptreve_reel)
|
||||
if (rollData.selectedSort && !rollData.selectedSort.data.ptreve_reel)
|
||||
rollData.selectedSort.data.ptreve_reel = 1;
|
||||
$("#bonusmalus").val(rollData.bmValue);
|
||||
updateRollResult(rollData);
|
||||
|
Reference in New Issue
Block a user