Merge pull request #9755 from Ghommie/Ghommie-cit331

lentext to length, yet another 513 requirement.
This commit is contained in:
kevinz000
2019-11-12 23:59:31 -07:00
committed by GitHub
15 changed files with 53 additions and 53 deletions
+1 -1
View File
@@ -231,7 +231,7 @@ GLOBAL_VAR_INIT(observer_default_invisibility, INVISIBILITY_OBSERVER)
var/r_val
var/b_val
var/g_val
var/color_format = lentext(input_color)
var/color_format = length(input_color)
if(color_format == 3)
r_val = hex2num(copytext(input_color, 1, 2))*16
g_val = hex2num(copytext(input_color, 2, 3))*16