Skip to content

Commit

Permalink
release v4.4.110
Browse files Browse the repository at this point in the history
  • Loading branch information
FluffierThanThou committed Aug 13, 2021
1 parent 37f509b commit b3d187c
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 deletions.
Binary file modified Assemblies/DynamicPawnTable.dll
Binary file not shown.
Binary file modified Assemblies/MedicalTab.dll
Binary file not shown.
Binary file modified Assemblies/MedicalTab.pdb
Binary file not shown.
4 changes: 2 additions & 2 deletions Source/MedicalInfo/CapacityUtility.cs
Expand Up @@ -178,7 +178,7 @@ public static class CapacityUtility {

foreach (BodyPartRecord part in parts) {
float current = PawnCapacityUtility.CalculatePartEfficiency( pawn.health.hediffSet, part );
if (after < current == negative) {
if ((after < current) == negative) {
options.Add(GenerateSurgeryOption(pawn, pawn, r,
r.PotentiallyMissingIngredients(null, pawn.Map),
part));
Expand Down Expand Up @@ -275,7 +275,7 @@ public static class CapacityUtility {
foreach (PawnCapacityModifier capMod in stage.capMods) {
if (capMod.capacity == capacity) {
float after = Mathf.Min( ( current + capMod.offset ) * capMod.postFactor, capMod.setMax );
return after < current == negative;
return (after < current) == negative;
}
}
}
Expand Down
11 changes: 10 additions & 1 deletion modinfo.json
Expand Up @@ -5,7 +5,7 @@
"url": "https://github.com/fluffy-mods/MedicalTab",
"version": {
"major": 4,
"minor": 3,
"minor": 4,
"build": 110
},
"author": {
Expand All @@ -19,6 +19,15 @@
"url": "https://github.com/fluffy-mods/MedicalTab"
},
"changelog": [
{
"date": "2021-08-13T21:29:56.000Z",
"message": "remove obsolete files, use unique defName for medical care column",
"author": {
"name": "Fluffy",
"email": "fluffy.l2032@gmail.com"
},
"hash": "37f509b7aebfc6c5e9829e11650bddbfaf8b6c95"
},
{
"date": "2021-07-27T22:47:08.000Z",
"message": "fix disease tooltips (hopefully)",
Expand Down

0 comments on commit b3d187c

Please sign in to comment.