mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
[NO GBP] Prevents ghosts from cutting tethers (#87194)
## About The Pull Request Closes #87192 ## Changelog 🆑 fix: Ghosts can no longer cut people's tethers /🆑 --------- Co-authored-by: Ben10Omintrix <138636438+Ben10Omintrix@users.noreply.github.com>
This commit is contained in:
co-authored by
Ben10Omintrix
parent
a5104c33e5
commit
d12fca5dfd
@@ -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...")
|
||||
|
||||
Reference in New Issue
Block a user