mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-27 10:32:40 +00:00
Merge pull request #3710 from SpadesNeil/window-change
Weak attacks no longer can damage windows
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user