Fixes a bug with holographic projectors.

Would not properly null out the variable, meaning it just waits to be garbage collected. Bad. Very bad.
This commit is contained in:
avabee
2018-12-16 22:37:26 -06:00
committed by GitHub
parent a428fad5e8
commit c2c04c18a5

View File

@@ -300,7 +300,7 @@
text_output += "\an [name]"
else
text_output += "\an ["\improper[initial_name]"] labeled '[name]'"
text_output += " which is currently [get_pin_data(IC_INPUT, 1) ? "lit <font color=[led_color]><EFBFBD></font>" : "unlit."]"
text_output += " which is currently [get_pin_data(IC_INPUT, 1) ? "lit <font color=[led_color]>¤</font>" : "unlit."]"
to_chat(user,jointext(text_output,null))
/obj/item/integrated_circuit/output/led/red
@@ -462,7 +462,7 @@
/obj/item/integrated_circuit/output/holographic_projector/proc/destroy_hologram()
hologram.forceMove(src)
hologram = null
qdel(hologram)
// holo_beam.End()