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 BarryNorfolk
parent adef13b4db
commit eb51cc6861
1 changed files with 1 additions and 1 deletions

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;