Raise power events by ref and not broadcast (#11923)
Also some other minor stuff.
This commit is contained in:
@@ -71,7 +71,7 @@ namespace Content.Server.Singularity.EntitySystems
|
||||
private void ReceivedChanged(
|
||||
EntityUid uid,
|
||||
EmitterComponent component,
|
||||
PowerConsumerReceivedChanged args)
|
||||
ref PowerConsumerReceivedChanged args)
|
||||
{
|
||||
if (!component.IsOn)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user