Raise power events by ref and not broadcast (#11923)
Also some other minor stuff.
This commit is contained in:
@@ -31,7 +31,7 @@ public sealed partial class ConstructionSystem
|
||||
CreateComputerBoard(component);
|
||||
}
|
||||
|
||||
private void OnCompPowerChange(EntityUid uid, ComputerComponent component, PowerChangedEvent args)
|
||||
private void OnCompPowerChange(EntityUid uid, ComputerComponent component, ref PowerChangedEvent args)
|
||||
{
|
||||
if (TryComp<AppearanceComponent>(uid, out var appearance))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user