lentext to length.

This commit is contained in:
Ghommie
2019-11-09 23:17:04 +01:00
parent c9cd27c38c
commit 279c22b781
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