Skip to content

Commit

Permalink
fix temperature error (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sh1ntra authored Sep 12, 2024
1 parent 310ff86 commit dd6a696
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Content.Server/Temperature/Systems/TemperatureSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ public void ForceChangeTemperature(EntityUid uid, float temp, TemperatureCompone
public void ChangeHeat(EntityUid uid, float heatAmount, bool ignoreHeatResistance = false,
TemperatureComponent? temperature = null)
{
if (!HasComp<TemperatureComponent>(uid)) //nuclear-14 change
return;

if (!Resolve(uid, ref temperature))
return;

Expand Down

0 comments on commit dd6a696

Please sign in to comment.