fix: Pulse damages machinery too (#21667)

https://github.com/ss220-space/Paradise/pull/2433
This commit is contained in:
larentoun
2023-07-17 19:03:14 +09:00
committed by GitHub
parent d9e5df8fcc
commit 575a83b732
+1 -1
View File
@@ -74,7 +74,7 @@
light_color = LIGHT_COLOR_DARKBLUE
/obj/item/projectile/beam/pulse/on_hit(atom/target, blocked = 0)
if(isturf(target) || isstructure(target))
if(isturf(target) || isstructure(target) || ismachinery(target))
target.ex_act(2)
..()