Convert atmos device events to ref events (#22843)
This commit is contained in:
@@ -48,7 +48,7 @@ namespace Content.Server.Atmos.Portable
|
||||
return component.Air.Pressure >= component.MaxPressure;
|
||||
}
|
||||
|
||||
private void OnDeviceUpdated(EntityUid uid, PortableScrubberComponent component, AtmosDeviceUpdateEvent args)
|
||||
private void OnDeviceUpdated(EntityUid uid, PortableScrubberComponent component, ref AtmosDeviceUpdateEvent args)
|
||||
{
|
||||
if (!TryComp(uid, out AtmosDeviceComponent? device))
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user