mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-13 16:13:19 +01:00
[s] Fixes a thing. (#26836)
This commit is contained in:
committed by
GitHub
parent
7199e80bd9
commit
cca2b52e8d
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user