FIXES #4930 Circuit Examine Text

Fixes issue with new lines showing for circuits inside an assembly with null examine text.

Also fixes an issue with screens not displaying their circuit names.
This commit is contained in:
Desert
2023-07-08 15:00:42 -05:00
parent 38587b50dd
commit 97678be1b4

View File

@@ -213,7 +213,9 @@
. = ..() . = ..()
if(Adjacent(user)) if(Adjacent(user))
for(var/obj/item/integrated_circuit/IC in contents) for(var/obj/item/integrated_circuit/IC in contents)
. += IC.external_examine(user) var/external_examine = IC.external_examine(user)
if (external_examine != null)
. += external_examine
if(opened) if(opened)
tgui_interact(user) tgui_interact(user)