From cdd2c101248ae5b09347aa9f8307b6ccbec85a8f Mon Sep 17 00:00:00 2001 From: Bobbahbrown Date: Sun, 8 Nov 2020 20:51:52 -0400 Subject: [PATCH] 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. --- 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