From 6953f742950245e44a61dd110b1fb23bbdb1d3d9 Mon Sep 17 00:00:00 2001 From: theo-3 <85434590+theo-3@users.noreply.github.com> Date: Sat, 17 Jul 2021 10:56:10 +0300 Subject: [PATCH] Use [] in seeds name Looks better --- code/modules/hydroponics/seeds.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/modules/hydroponics/seeds.dm b/code/modules/hydroponics/seeds.dm index 7960b617609..619c34b323d 100644 --- a/code/modules/hydroponics/seeds.dm +++ b/code/modules/hydroponics/seeds.dm @@ -340,10 +340,10 @@ ..() // Fallthrough to item/attackby() so that bags can pick seeds up /obj/item/seeds/proc/apply_variant_name() - var/P = findtext(name, "-") - var/V = (variant == "") ? "" : (" - " + variant) + var/P = findtext(name, "\[") + var/V = (variant == "") ? "" : (" \[" + variant + "]") // If we have a non-empty variant add it to the name if (P != 0) - name = copytext(name, 1, P - 1) + V + name = copytext(name, 1, P - 1) + V // If there was already a variant in the name remove it else name += V