Final touches to station goals

This commit is contained in:
Markolie
2017-01-25 16:14:40 +01:00
parent 14fd8ec3ec
commit fcf8d1f7c4
3 changed files with 53 additions and 25 deletions
+4 -3
View File
@@ -113,13 +113,14 @@
mouse_opacity = 0
anchored = 1
var/datum/beam/owner
/obj/effect/ebeam/deadly/Crossed(atom/A)
A.ex_act(1)
/obj/effect/ebeam/Destroy()
owner = null
return ..()
/obj/effect/ebeam/deadly/Crossed(atom/A)
..()
A.ex_act(1)
/atom/proc/Beam(atom/BeamTarget,icon_state="b_beam",icon='icons/effects/beam.dmi',time=50, maxdistance=10,beam_type=/obj/effect/ebeam)
var/datum/beam/newbeam = new(src,BeamTarget,icon,icon_state,time,maxdistance,beam_type)