mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-30 03:53:33 +00:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user