fix: fin de resistance pour Jonathan et Caroline

suppression-manon-adrien
Sébastien Arod 2024-09-08 21:44:19 +02:00
parent 239aeb9879
commit 750bc95ccd
1 changed files with 0 additions and 2 deletions

View File

@ -54,8 +54,6 @@ const r2First = 1;
export const resistantsOrder = (r1: Resistant, r2: Resistant): number => { export const resistantsOrder = (r1: Resistant, r2: Resistant): number => {
if (r1.id === "ramin-marjorie") return r1First; if (r1.id === "ramin-marjorie") return r1First;
if (r2.id === "ramin-marjorie") return r2First; if (r2.id === "ramin-marjorie") return r2First;
if (r1.id === "jonathan-caroline") return r1First;
if (r2.id === "jonathan-caroline") return r2First;
if (isResistantActif(r1) && isAncienResistant(r2)) return r1First; if (isResistantActif(r1) && isAncienResistant(r2)) return r1First;
if (isAncienResistant(r1) && isResistantActif(r2)) return r2First; if (isAncienResistant(r1) && isResistantActif(r2)) return r2First;