Moves projectile processing to a subsystem
This commit is contained in:
committed by
CitadelStationBot
parent
be2dc49384
commit
ed96224d3a
@@ -1141,11 +1141,7 @@ GLOBAL_LIST_INIT(hallucinations_major, list(
|
||||
var/obj/item/projectile/hallucination/H = new proj_type(start)
|
||||
target.playsound_local(start, H.hal_fire_sound, 60, 1)
|
||||
H.hal_target = target
|
||||
H.current = start
|
||||
H.starting = start
|
||||
H.yo = target.y - start.y
|
||||
H.xo = target.x - start.x
|
||||
H.original = target
|
||||
H.preparePixelProjectile(target, start)
|
||||
H.fire()
|
||||
qdel(src)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user