From d12fca5dfdf6d6a6a2144b79e203beb75b2d598b Mon Sep 17 00:00:00 2001 From: SmArtKar <44720187+SmArtKar@users.noreply.github.com> Date: Sun, 13 Oct 2024 19:06:51 +0200 Subject: [PATCH] [NO GBP] Prevents ghosts from cutting tethers (#87194) ## About The Pull Request Closes #87192 ## Changelog :cl: fix: Ghosts can no longer cut people's tethers /:cl: --------- Co-authored-by: Ben10Omintrix <138636438+Ben10Omintrix@users.noreply.github.com> --- code/datums/components/tether.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/datums/components/tether.dm b/code/datums/components/tether.dm index d5e00ddb398..1e8313fa53b 100644 --- a/code/datums/components/tether.dm +++ b/code/datums/components/tether.dm @@ -142,6 +142,8 @@ INVOKE_ASYNC(src, PROC_REF(process_beam_click), source, location, params, user) /datum/component/tether/proc/process_beam_click(atom/source, atom/location, params, mob/user) + if (!location.can_interact(user)) + return var/list/modifiers = params2list(params) if(LAZYACCESS(modifiers, CTRL_CLICK)) location.balloon_alert(user, "cutting the tether...")