From af3fdb588d1667442b7a31c2f8e971d0d733c680 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Mon, 9 Nov 2020 21:14:08 +0100 Subject: [PATCH] [MIRROR] Fix erroneous logging of config errors for str_list configuration type (#1645) * Fix erroneous logging of config errors for str_list configuration type (#54676) Fixed issue brought up by @ Cyberboss wherein the new ``str_list`` config type doesn't properly return true after setting the values and as a result has an erroneous error pop up in the config error log. * Fix erroneous logging of config errors for str_list configuration type Co-authored-by: Bobbahbrown --- code/controllers/configuration/config_entry.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/controllers/configuration/config_entry.dm b/code/controllers/configuration/config_entry.dm index 41417a2ed30..ecd32faab0c 100644 --- a/code/controllers/configuration/config_entry.dm +++ b/code/controllers/configuration/config_entry.dm @@ -130,6 +130,7 @@ str_val = trim(str_val) if (str_val != "") config_entry_value += str_val + return TRUE /datum/config_entry/number_list abstract_type = /datum/config_entry/number_list