mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
[MIRROR] #57049 but only the prox check: fixes tape being able to be used on objects without proximity (#3607)
* Sticky tape no longer can be used on objects that aren't within reach. (#57103) * #57049 but only the prox check: fixes tape being able to be used on objects without proximity Co-authored-by: necromanceranne <40847847+necromanceranne@users.noreply.github.com>
This commit is contained in:
co-authored by
necromanceranne
parent
a45c28e296
commit
3d3dcc8527
@@ -19,7 +19,10 @@
|
||||
var/list/conferred_embed = EMBED_HARMLESS
|
||||
var/overwrite_existing = FALSE
|
||||
|
||||
/obj/item/stack/sticky_tape/afterattack(obj/item/I, mob/living/user)
|
||||
/obj/item/stack/sticky_tape/afterattack(obj/item/I, mob/living/user, proximity)
|
||||
if(!proximity)
|
||||
return
|
||||
|
||||
if(!istype(I))
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user