mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-21 03:55:05 +01:00
fix: Pulse damages machinery too (#21667)
https://github.com/ss220-space/Paradise/pull/2433
This commit is contained in:
@@ -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)
|
||||
..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user