diff --git a/code/__HELPERS/sanitize_values.dm b/code/__HELPERS/sanitize_values.dm index eb083b029906a..77e7c53e6b92b 100644 --- a/code/__HELPERS/sanitize_values.dm +++ b/code/__HELPERS/sanitize_values.dm @@ -50,7 +50,7 @@ . = "" for(var/i=start, i<=len, i+=length(char)) char = color[i] - switch(ascii2text(char)) + switch(text2ascii(char)) if(48 to 57) . += char //numbers 0 to 9 if(97 to 102)