]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix ghost prayer interaction (#27199)
authorJúlio César Ueti <52474532+Mirino97@users.noreply.github.com>
Sun, 21 Apr 2024 09:01:00 +0000 (06:01 -0300)
committerGitHub <noreply@github.com>
Sun, 21 Apr 2024 09:01:00 +0000 (19:01 +1000)
fix ghost prayer interaction

Co-authored-by: Júlio César <j.cesarueti@yahoo.com>
Content.Server/Prayer/PrayerSystem.cs

index f5051741c037e7577718f05a4b6b62aa0c165e46..c8ef368dadfdeccca212478711fbd94ef6427060 100644 (file)
@@ -39,7 +39,7 @@ public sealed class PrayerSystem : EntitySystem
             return;
 
         // this is to prevent ghosts from using it
-        if (!args.CanAccess)
+        if (!args.CanInteract)
             return;
 
         var prayerVerb = new ActivationVerb