if (!Resolve(ent, ref ent.Comp2, logMissing: false))
return;
+ // TODO: Why do we have two datafields for this if they are only ever used once here?
var totalMetabolismTempChange = ent.Comp1.MetabolismHeat - ent.Comp1.RadiatedHeat;
// implicit heat regulation
// if body temperature is not within comfortable, thermal regulation
// processes starts
- if (tempDiff > ent.Comp1.ThermalRegulationTemperatureThreshold)
+ if (tempDiff < ent.Comp1.ThermalRegulationTemperatureThreshold)
return;
if (ent.Comp2.CurrentTemperature > ent.Comp1.NormalBodyTemperature)