Update for collision events by-ref (#10933)
This commit is contained in:
@@ -5,6 +5,7 @@ using Content.Server.Chemistry.Components.SolutionManager;
|
||||
using Content.Shared.Inventory;
|
||||
using JetBrains.Annotations;
|
||||
using Robust.Shared.Physics.Dynamics;
|
||||
using Robust.Shared.Physics.Events;
|
||||
using Robust.Shared.Prototypes;
|
||||
|
||||
|
||||
@@ -31,7 +32,7 @@ namespace Content.Server.Chemistry.EntitySystems
|
||||
.EnsureComponentWarn<SolutionContainerManagerComponent>($"{nameof(SolutionInjectOnCollideComponent)} requires a SolutionContainerManager on {component.Owner}!");
|
||||
}
|
||||
|
||||
private void HandleInjection(EntityUid uid, SolutionInjectOnCollideComponent component, StartCollideEvent args)
|
||||
private void HandleInjection(EntityUid uid, SolutionInjectOnCollideComponent component, ref StartCollideEvent args)
|
||||
{
|
||||
var target = args.OtherFixture.Body.Owner;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user