From: Tayrtahn Date: Thu, 8 Jan 2026 19:09:23 +0000 (-0500) Subject: Fix forced vaping checking if the user's mouth is blocked instead of the target's... X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=28e830f8b4343183ca6981a42fcff892650cdea1;p=space-station-14.git 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. --- diff --git a/Content.Server/Nutrition/EntitySystems/SmokingSystem.Vape.cs b/Content.Server/Nutrition/EntitySystems/SmokingSystem.Vape.cs index 871a15ee73..547801c7ae 100644 --- a/Content.Server/Nutrition/EntitySystems/SmokingSystem.Vape.cs +++ b/Content.Server/Nutrition/EntitySystems/SmokingSystem.Vape.cs @@ -42,7 +42,7 @@ namespace Content.Server.Nutrition.EntitySystems if (!args.CanReach || !_solutionContainerSystem.TryGetRefillableSolution(entity.Owner, out _, out var solution) || !HasComp(args.Target) - || !_ingestion.HasMouthAvailable(args.Target.Value, args.User) + || !_ingestion.HasMouthAvailable(args.User, args.Target.Value) ) { return;