diff --git a/code/game/objects/items/weapons/caution.dm b/code/game/objects/items/weapons/caution.dm index 6790eab4376..fa5b3c6877a 100644 --- a/code/game/objects/items/weapons/caution.dm +++ b/code/game/objects/items/weapons/caution.dm @@ -74,9 +74,11 @@ energy_type = /datum/robot_storage/energy/janitor/landmine is_cyborg = TRUE -/obj/item/stack/caution/proximity_sign/malf/afterattack(atom/target, mob/user) +/obj/item/stack/caution/proximity_sign/malf/afterattack(atom/target, mob/user, proximity) if(!check_allowed_items(target, 1)) return + if(!proximity) + return var/turf/T = get_turf(target) if(is_blocked_turf(T, TRUE)) //can't put mines on a tile that has dense stuff