]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fixed Fire Extinguisher safety range (#25534)
authorbeck-thompson <107373427+beck-thompson@users.noreply.github.com>
Sun, 25 Feb 2024 02:29:16 +0000 (18:29 -0800)
committerGitHub <noreply@github.com>
Sun, 25 Feb 2024 02:29:16 +0000 (13:29 +1100)
Content.Server/Extinguisher/FireExtinguisherSystem.cs

index 5adf067d9b5ff12773147994f32c2b19586d2ce1..dfecd72398dc8abd9ff2c0d32ce11ade51c1f769 100644 (file)
@@ -93,7 +93,7 @@ public sealed class FireExtinguisherSystem : EntitySystem
 
     private void OnGetInteractionVerbs(Entity<FireExtinguisherComponent> entity, ref GetVerbsEvent<InteractionVerb> args)
     {
-        if (!args.CanInteract)
+        if (!args.CanAccess || !args.CanInteract)
             return;
 
         var user = args.User;