From 62d04372588d00d58159fd4bb7bc2b7d0bba327b Mon Sep 17 00:00:00 2001 From: Timberpoes Date: Sun, 8 Mar 2020 17:51:13 +0000 Subject: [PATCH] Use better method of joining a list of strings --- code/game/machinery/computer/dna_console.dm | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/code/game/machinery/computer/dna_console.dm b/code/game/machinery/computer/dna_console.dm index c4eeec1872b..3d3e8d823fa 100644 --- a/code/game/machinery/computer/dna_console.dm +++ b/code/game/machinery/computer/dna_console.dm @@ -514,15 +514,8 @@ if(HM.chromosome_name) chromosome_name = HM.chromosome_name temp_html += "
Chromosome status: [chromosome_name]
" - - // Build formatted string containing all valid chromosomes that this mutation can take. - var/valid_chrom_text = "" - for(var/i in 1 to LAZYLEN(HM.valid_chrom_list)) - valid_chrom_text += "[HM.valid_chrom_list[i]]" - if(i < LAZYLEN(HM.valid_chrom_list)) - valid_chrom_text += ", " - temp_html += "
Compatible chromosomes: [valid_chrom_text]
" - + temp_html += "
Compatible chromosomes: [jointext(HM.valid_chrom_list, ", ")]
" + temp_html += "
Sequence:

" if(!scrambled) for(var/block in 1 to A.blocks)