Skip to content

Commit

Permalink
Fix erroneous logging of config errors for str_list configuration type (
Browse files Browse the repository at this point in the history
tgstation#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.
  • Loading branch information
bobbah authored Nov 9, 2020
1 parent 9badd4b commit cdd2c10
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/controllers/configuration/config_entry.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cdd2c10

Please sign in to comment.