From 04c88e86b322308eb7cd9d04828a0ad753c93ea4 Mon Sep 17 00:00:00 2001 From: Tayrtahn Date: Sun, 16 Feb 2025 19:29:30 -0500 Subject: [PATCH] Fix debug assert in ScoopableSolution (#35225) * Fix debug assert in ScoopableSolution * Don't stomp the old Handled value --- .../Chemistry/EntitySystems/ScoopableSolutionSystem.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Content.Shared/Chemistry/EntitySystems/ScoopableSolutionSystem.cs b/Content.Shared/Chemistry/EntitySystems/ScoopableSolutionSystem.cs index 84f1e45616..86f9ffa390 100644 --- a/Content.Shared/Chemistry/EntitySystems/ScoopableSolutionSystem.cs +++ b/Content.Shared/Chemistry/EntitySystems/ScoopableSolutionSystem.cs @@ -24,7 +24,10 @@ public sealed class ScoopableSolutionSystem : EntitySystem private void OnInteractUsing(Entity ent, ref InteractUsingEvent args) { - TryScoop(ent, args.Used, args.User); + if (args.Handled) + return; + + args.Handled = TryScoop(ent, args.Used, args.User); } public bool TryScoop(Entity ent, EntityUid beaker, EntityUid user) -- 2.51.2