mirror of
https://github.com/space-wizards/space-station-14.git
synced 2026-02-14 19:29:53 +01:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user