Update type2type.dm
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user