Update type2type.dm

This commit is contained in:
LetterJay
2017-04-25 01:54:53 -05:00
committed by GitHub
parent 3d51a07243
commit 31e8bee39e
+2 -2
View File
@@ -69,7 +69,7 @@
else
. = "0" + .
i++
names.dmnames.dm
return
//Splits the text of a file at seperator and returns them in a list.
/world/proc/file2list(filename, seperator="\n")
@@ -537,4 +537,4 @@ names.dmnames.dm
/proc/color_matrix2color_hex(list/the_matrix)
if(!istype(the_matrix) || the_matrix.len != 20)
return "#ffffffff"
return rgb(the_matrix[1]*255, the_matrix[6]*255, the_matrix[11]*255, the_matrix[16]*255)
return rgb(the_matrix[1]*255, the_matrix[6]*255, the_matrix[11]*255, the_matrix[16]*255)