Convert atmos device events to ref events (#22843)

This commit is contained in:
Kara
2023-12-22 23:25:05 +01:00
committed by Debug
parent 86af7b732d
commit 7decaa29e7
25 changed files with 111 additions and 93 deletions
@@ -22,7 +22,7 @@ public sealed class GasPowerReceiverSystem : EntitySystem
SubscribeLocalEvent<GasPowerReceiverComponent, AtmosDeviceUpdateEvent>(OnDeviceUpdated);
}
private void OnDeviceUpdated(EntityUid uid, GasPowerReceiverComponent component, AtmosDeviceUpdateEvent args)
private void OnDeviceUpdated(EntityUid uid, GasPowerReceiverComponent component, ref AtmosDeviceUpdateEvent args)
{
var timeDelta = args.dt;