[s] Fixes a thing. (#26836)

This commit is contained in:
warriorstar-orion
2024-09-19 09:13:13 -04:00
committed by GitHub
parent 7199e80bd9
commit cca2b52e8d
+3 -1
View File
@@ -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