Fix PA construction crash, make it clear that PA construction needs LV cables (#4506)

This commit is contained in:
20kdc
2021-08-22 17:50:43 +02:00
committed by GitHub
parent ddbfb186d9
commit cdb0727d78
2 changed files with 3 additions and 2 deletions
@@ -21,7 +21,8 @@ namespace Content.Server.ParticleAccelerator.EntitySystems
ParticleAcceleratorPowerBoxComponent component,
PowerConsumerReceivedChanged args)
{
component.Master!.PowerBoxReceivedChanged(args);
if (component.Master != null)
component.Master.PowerBoxReceivedChanged(args);
}
}
}