Space Kudzu (#5472)

This commit is contained in:
Moony
2021-11-28 20:25:36 -06:00
committed by GitHub
parent 30c87ca6b2
commit 9075cf6163
30 changed files with 617 additions and 42 deletions

View File

@@ -45,7 +45,7 @@ namespace Content.Server.Temperature.Components
{
get
{
if (Owner.TryGetComponent<IPhysBody>(out var physics))
if (Owner.TryGetComponent<IPhysBody>(out var physics) && physics.Mass != 0)
{
return SpecificHeat * physics.Mass;
}