Fix beam runtimes and charging cable messages (#10529)

This commit is contained in:
JohnWildkins
2020-11-14 12:19:33 +01:00
committed by GitHub
parent 77c5eb44d4
commit 8f0d1c1ea4
5 changed files with 35 additions and 23 deletions
@@ -94,6 +94,8 @@ var/global/list/all_beam_points
return FALSE
var/datum/beam/new_beam = Beam(beam_target, beam_icon_state, beam_icon, beam_time, beam_max_distance, beam_type, beam_sleep_time)
if (!istype(new_beam))
return FALSE
my_beams += new_beam
if(beam_creation_sound)
playsound(src, beam_creation_sound, 70, 1)
@@ -173,4 +175,4 @@ var/global/list/all_beam_points
// Can only have one beam.
/obj/effect/map_effect/beam_point/mono
make_beams_on_init = TRUE
max_beams = 1
max_beams = 1