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:
D3athrow
2015-02-08 01:23:18 -06:00
parent 39e1a39d0c
commit d3db5b7f72
3 changed files with 6 additions and 6 deletions

View File

@@ -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)