mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 16:10:02 +01:00
Fix beam runtimes and charging cable messages (#10529)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user