Solar Panels (#936)

This commit is contained in:
20kdc
2020-05-21 20:08:03 +01:00
committed by GitHub
parent b270c69512
commit 0cfd2f3bb2
7 changed files with 187 additions and 1 deletions

View File

@@ -65,7 +65,7 @@ namespace Content.Server.GameObjects.Components.Power
{
_supply = value;
var node = Owner.GetComponent<PowerNodeComponent>();
node.Parent.UpdateGenerator(this);
node?.Parent?.UpdateGenerator(this);
}
/// <summary>