mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-17 01:53:35 +01:00
Particle beam now consistently imparts the singularity with energy and only does so once (#27415)
This commit is contained in:
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)
|
||||
|
||||
Reference in New Issue
Block a user