mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 16:10:02 +01:00
Fixes telekinetic tables (#19667)
Fixes folding tables being possible to set up with a mouse click regardless of proximity. Resolves https://github.com/Aurorastation/Aurora.3/issues/19475
This commit is contained in:
@@ -406,7 +406,8 @@
|
||||
deploy(get_turf(user), user.dir, user)
|
||||
|
||||
/obj/item/material/folding_table/afterattack(atom/target, mob/user, proximity_flag, click_parameters)
|
||||
if(use_check(user) || !Adjacent(user))
|
||||
if(use_check(user) || !user.Adjacent(target))
|
||||
to_chat(usr, SPAN_WARNING("You fail to set up \the [src] in that location."))
|
||||
return
|
||||
if(isturf(target))
|
||||
deploy(target, user.dir, user)
|
||||
|
||||
Reference in New Issue
Block a user