Fix for cham clothing with non-null index

This commit is contained in:
Ava
2023-03-29 02:13:14 -04:00
parent 1d9875cab3
commit e929cf610b
+6
View File
@@ -24,6 +24,12 @@
return copy //for inheritance
/obj/item/clothing/disguise(newtype)
var/obj/item/clothing/C = ..()
if (istype(C))
index = C.index
return C
/proc/generate_chameleon_choices(var/basetype, var/blacklist=list())
. = list()