Particle beam now consistently imparts the singularity with energy and only does so once (#27415)

This commit is contained in:
Migratingcocofruit
2024-11-22 15:11:38 +02:00
committed by GitHub
parent e333cd98f5
commit 24dc69d8b1
@@ -40,11 +40,16 @@
B.take_damage(energy * 0.6)
movement_range = 0
/// The particles bump the singularity
/obj/effect/accelerated_particle/Bump(obj/singularity/S)
if(!istype(S))
return ..()
S.energy += energy
energy = 0
/// The singularity bumps the particles
/obj/effect/accelerated_particle/singularity_act()
return
/obj/effect/accelerated_particle/ex_act(severity)
qdel(src)