mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-21 13:13:29 +01:00
Merge pull request #10323 from VOREStation/Arokha/beamqdel
Help beam_components qdel properly
This commit is contained in:
committed by
Chompstation Bot
parent
83a2fdc561
commit
b2217f0b18
@@ -2,8 +2,7 @@
|
||||
var/list/beam_components = list()
|
||||
|
||||
/datum/beam_components_cache/Destroy()
|
||||
for(var/component in beam_components)
|
||||
qdel(component)
|
||||
QDEL_LIST_NULL(beam_components)
|
||||
return ..()
|
||||
|
||||
/proc/generate_tracer_between_points(datum/point/starting, datum/point/ending, datum/beam_components_cache/beam_components, beam_type, color, qdel_in = 5, light_range = 2, light_color_override, light_intensity = 1, instance_key) //Do not pass z-crossing points as that will not be properly (and likely will never be properly until it's absolutely needed) supported!
|
||||
|
||||
Reference in New Issue
Block a user