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:
parent
adef13b4db
commit
eb51cc6861
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue