[MIRROR] Cleans empty newlines from circuit assembly examine text (#11262)

Co-authored-by: Jenny <ghosttehspychecka@gmail.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-07-28 05:03:35 +02:00
committed by GitHub
co-authored by Jenny Kashargul
parent df16cf278f
commit 36f3381b03
@@ -210,9 +210,10 @@
. = ..()
if(Adjacent(user))
for(var/obj/item/integrated_circuit/IC in contents)
var/external_examine = IC.external_examine(user)
if (external_examine != null)
. += external_examine
// Make sure there's actually examine text to prevent empty lines being printed for EVERY component!
var/examine_text = IC.external_examine(user)
if (length(examine_text))
. += examine_text
if(opened)
tgui_interact(user)