Make Reactions conserve thermal energy (#16190)
This commit is contained in:
@@ -114,6 +114,10 @@ namespace Content.Shared.Chemistry.Components
|
||||
return _heatCapacity;
|
||||
}
|
||||
|
||||
public float GetThermalEnergy(IPrototypeManager? protoMan)
|
||||
{
|
||||
return GetHeatCapacity(protoMan) * Temperature;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Constructs an empty solution (ex. an empty beaker).
|
||||
|
||||
Reference in New Issue
Block a user