mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 03:33:21 +00:00
Added moar sanity.
This commit is contained in:
@@ -413,6 +413,8 @@ BLIND // can't see anything
|
|||||||
/obj/item/clothing/under/proc/can_attach_accessory(obj/item/clothing/accessory/A)
|
/obj/item/clothing/under/proc/can_attach_accessory(obj/item/clothing/accessory/A)
|
||||||
if(istype(A))
|
if(istype(A))
|
||||||
.=1
|
.=1
|
||||||
|
else
|
||||||
|
return 0
|
||||||
if(accessories.len && (A.slot in list("utility","armband")))
|
if(accessories.len && (A.slot in list("utility","armband")))
|
||||||
for(var/obj/item/clothing/accessory/AC in accessories)
|
for(var/obj/item/clothing/accessory/AC in accessories)
|
||||||
if (AC.slot == A.slot)
|
if (AC.slot == A.slot)
|
||||||
|
|||||||
Reference in New Issue
Block a user