Update for collision events by-ref (#10933)
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
using Content.Shared.StepTrigger.Components;
|
||||
using Robust.Shared.Collections;
|
||||
using Robust.Shared.GameStates;
|
||||
using Robust.Shared.Physics.Components;
|
||||
using Robust.Shared.Physics.Dynamics;
|
||||
using Robust.Shared.Physics.Events;
|
||||
|
||||
namespace Content.Shared.StepTrigger.Systems;
|
||||
|
||||
@@ -97,7 +99,7 @@ public sealed class StepTriggerSystem : EntitySystem
|
||||
return msg.Continue && !msg.Cancelled;
|
||||
}
|
||||
|
||||
private void HandleCollide(EntityUid uid, StepTriggerComponent component, StartCollideEvent args)
|
||||
private void HandleCollide(EntityUid uid, StepTriggerComponent component, ref StartCollideEvent args)
|
||||
{
|
||||
var otherUid = args.OtherFixture.Body.Owner;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user