mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Fixes #2875
I didnt think of the reprocussions of new being called twice so particles were trying to move in two different directions.
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
proc/RadiateParticle(var/energy, var/ionizing, var/dir = 0)
|
||||
if(!dir)
|
||||
RadiateParticleRand(energy, ionizing)
|
||||
var/obj/effect/accelerated_particle/particle = new
|
||||
var/obj/effect/accelerated_particle/particle = getFromPool(/obj/effect/accelerated_particle,get_turf(src))
|
||||
particle.dir = dir
|
||||
particle.ionizing = ionizing
|
||||
if(energy)
|
||||
|
||||
Reference in New Issue
Block a user