This commit is contained in:
Geeves
2021-03-01 16:41:23 +01:00
committed by GitHub
parent a564c565f8
commit adec66804b
2 changed files with 10 additions and 2 deletions
+4 -2
View File
@@ -125,6 +125,10 @@
bear.instant_aggro()
/obj/item/trap/Crossed(atom/movable/AM)
if(ishuman(AM))
var/mob/living/carbon/human/H = AM
if(H.shoes?.item_flags & LIGHTSTEP)
return
if(deployed && isliving(AM))
var/mob/living/L = AM
L.visible_message(
@@ -138,8 +142,6 @@
deployed = FALSE
update_icon()
shake_animation()
..()
/obj/item/trap/update_icon()
icon_state = "[icon_base][deployed]"