Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Killface1980 committed Nov 9, 2017
1 parent 164ee16 commit b126f21
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Source/Outfitter/ApparelStatCache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -615,6 +615,14 @@ public void UpdateTemperatureIfNecessary(bool force = false, bool forceweight =
this.pawnSave.TargetTemperatures.max = 32;
}

if (this.pawn.workSettings.WorkIsActive(DefDatabase<WorkTypeDef>.GetNamed("Cooking")))
{
{
this.pawnSave.TargetTemperatures.min = Mathf.Min(this.pawnSave.TargetTemperatures.min, -3);
}

}

this.lastTempUpdate = Find.TickManager.TicksGame;
}
}
Expand Down

0 comments on commit b126f21

Please sign in to comment.