Skip to content

Commit

Permalink
fix lethal disease threshold calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
FluffierThanThou committed Sep 5, 2018
1 parent 8e02aaa commit ac836a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Pharmacist/PharmacistUtility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ private static bool NearLethalDisease( Hediff h )
return PotentiallyLethalDisease( h ) &&
!compImmunizable.FullyImmune &&
h.Severity > Constants.LethalDiseaseLowerBound &&
compImmunizable.Immunity + PharmacistSettings.medicalCare.DiseaseMargin < h.Severity;
compImmunizable.Immunity < PharmacistSettings.medicalCare.DiseaseMargin + h.Severity;
}

private static bool DeathByAThousandCuts( Pawn patient )
Expand Down

0 comments on commit ac836a0

Please sign in to comment.