Fix forced vaping checking if the user's mouth is blocked instead of the target's. (#42311)

Swap user and target arguments of IngestionSystem.HasMouthAvailable call.
This commit is contained in:
Tayrtahn
2026-01-08 14:09:23 -05:00
committed by GitHub
parent 80d38c51b3
commit 28e830f8b4

View File

@@ -42,7 +42,7 @@ namespace Content.Server.Nutrition.EntitySystems
if (!args.CanReach
|| !_solutionContainerSystem.TryGetRefillableSolution(entity.Owner, out _, out var solution)
|| !HasComp<BloodstreamComponent>(args.Target)
|| !_ingestion.HasMouthAvailable(args.Target.Value, args.User)
|| !_ingestion.HasMouthAvailable(args.User, args.Target.Value)
)
{
return;