Fix PA construction crash, make it clear that PA construction needs LV cables (#4506)
This commit is contained in:
@@ -21,7 +21,8 @@ namespace Content.Server.ParticleAccelerator.EntitySystems
|
|||||||
ParticleAcceleratorPowerBoxComponent component,
|
ParticleAcceleratorPowerBoxComponent component,
|
||||||
PowerConsumerReceivedChanged args)
|
PowerConsumerReceivedChanged args)
|
||||||
{
|
{
|
||||||
component.Master!.PowerBoxReceivedChanged(args);
|
if (component.Master != null)
|
||||||
|
component.Master.PowerBoxReceivedChanged(args);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
- type: stack
|
- type: stack
|
||||||
id: Cable
|
id: Cable
|
||||||
name: cable
|
name: lv cable
|
||||||
icon: "/Textures/Objects/Tools/cable-coils.rsi/coil-30.png"
|
icon: "/Textures/Objects/Tools/cable-coils.rsi/coil-30.png"
|
||||||
spawn: CableApcStack1
|
spawn: CableApcStack1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user