diff --git a/code/game/objects/structures/window.dm b/code/game/objects/structures/window.dm index cad2907ac77..4fb2c56d77e 100644 --- a/code/game/objects/structures/window.dm +++ b/code/game/objects/structures/window.dm @@ -114,15 +114,15 @@ new /obj/item/weapon/shard(loc) if(reinf) new /obj/item/stack/rods(loc) del(src) - else if (istype(usr,/mob/living/carbon/human)) - - var/mob/living/carbon/human/H = usr - - if(H.species.can_shred(H)) - attack_generic(H,25) - return else if (usr.a_intent == "hurt") + + if (istype(usr,/mob/living/carbon/human)) + var/mob/living/carbon/human/H = usr + if(H.species.can_shred(H)) + attack_generic(H,25) + return + playsound(src.loc, 'sound/effects/glassknock.ogg', 80, 1) usr.visible_message("\red [usr.name] bangs against the [src.name]!", \ "\red You bang against the [src.name]!", \