If force is less than 10, an item can't damage windows.

This commit is contained in:
Spades
2017-08-14 17:42:43 -04:00
parent 33cf688b7b
commit 2206b23305

View File

@@ -164,6 +164,8 @@
update_verbs()
update_nearby_icons()
step(src, get_dir(AM, src))
if(tforce < 10)
return
take_damage(tforce)
/obj/structure/window/attack_tk(mob/user as mob)