Raise power events by ref and not broadcast (#11923)
Also some other minor stuff.
This commit is contained in:
@@ -13,7 +13,7 @@ namespace Content.Server.ParticleAccelerator.EntitySystems
|
||||
private static void PowerBoxReceivedChanged(
|
||||
EntityUid uid,
|
||||
ParticleAcceleratorPowerBoxComponent component,
|
||||
PowerConsumerReceivedChanged args)
|
||||
ref PowerConsumerReceivedChanged args)
|
||||
{
|
||||
component.Master?.PowerBoxReceivedChanged(args);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user