Merge pull request #3710 from SpadesNeil/window-change

Weak attacks no longer can damage windows
This commit is contained in:
MagmaRam
2017-08-26 13:55:36 -06:00
committed by GitHub

View File

@@ -291,6 +291,8 @@
/obj/structure/window/proc/hit(var/damage, var/sound_effect = 1)
if(reinf) damage *= 0.5
if(damage < 5)
return
take_damage(damage)
return