Update wormhole.dm

This commit is contained in:
kevinz000
2018-07-24 01:01:15 -07:00
parent e29016b257
commit 5ccda57266
5 changed files with 23 additions and 7 deletions
+2 -1
View File
@@ -597,8 +597,9 @@
if(!length(beam_segments))
return
if(tracer_type)
var/tempref = REF(src)
for(var/datum/point/p in beam_segments)
generate_tracer_between_points(p, beam_segments[p], tracer_type, color, duration, hitscan_light_range, hitscan_light_color_override, hitscan_light_intensity)
generate_tracer_between_points(p, beam_segments[p], tracer_type, color, duration, hitscan_light_range, hitscan_light_color_override, hitscan_light_intensity, tempref)
if(muzzle_type && duration > 0)
var/datum/point/p = beam_segments[1]
var/atom/movable/thing = new muzzle_type