Don't error on missing component in ChangeHeat (#32451)
This commit is contained in:
@@ -130,7 +130,7 @@ public sealed class TemperatureSystem : EntitySystem
|
||||
public void ChangeHeat(EntityUid uid, float heatAmount, bool ignoreHeatResistance = false,
|
||||
TemperatureComponent? temperature = null)
|
||||
{
|
||||
if (!Resolve(uid, ref temperature))
|
||||
if (!Resolve(uid, ref temperature, false))
|
||||
return;
|
||||
|
||||
if (!ignoreHeatResistance)
|
||||
|
||||
Reference in New Issue
Block a user