From d9d7216377aa35be341b70a01337dabe7e589711 Mon Sep 17 00:00:00 2001 From: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com> Date: Wed, 16 Feb 2022 16:06:33 +1300 Subject: [PATCH] Fix bible ranged interactions. (#6730) --- Content.Server/Bible/BibleSystem.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Content.Server/Bible/BibleSystem.cs b/Content.Server/Bible/BibleSystem.cs index 3f989d8a19..1b71923a04 100644 --- a/Content.Server/Bible/BibleSystem.cs +++ b/Content.Server/Bible/BibleSystem.cs @@ -37,6 +37,9 @@ namespace Content.Server.Bible private void OnAfterInteract(EntityUid uid, BibleComponent component, AfterInteractEvent args) { + if (!args.CanReach) + return; + var currentTime = _gameTiming.CurTime; if (currentTime < component.CooldownEnd)