fix: fin de resistance pour Jonathan et Caroline
parent
239aeb9879
commit
750bc95ccd
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue