Update _bodyparts.dm

This commit is contained in:
timothyteakettle
2021-05-07 17:27:55 +01:00
parent 0fb72497ff
commit bb893383bc

View File

@@ -833,7 +833,6 @@
markings_list.Add(image(marking_list[1], "[marking_list[2]]_[digitigrade_type]_[use_digitigrade]_[body_zone]", -MARKING_LAYER, image_dir))
if(color_src && length(marking_list) == 3)
message_admins("trying to color list of length [length(marking_list)] and also trying to access index [length(markings_list)] on a list of the same length")
markings_list[length(markings_list)].color = marking_list[3]
. += markings_list