Compile error

This commit is contained in:
Unknown
2021-05-03 12:32:21 -04:00
parent ade5e51232
commit a0b21ce29c
@@ -542,7 +542,7 @@
// VOREStation Add - Ears/Tails/Wings
/datum/tgui_module/appearance_changer/proc/can_use_sprite(datum/sprite_accessory/X, mob/living/carbon/human/target, mob/user)
if(!isnull(X.species_allowed) && !(target.species_name in X.species_allowed))
if(!isnull(X.species_allowed) && !(target.species.name in X.species_allowed))
return FALSE
if(LAZYLEN(X.ckeys_allowed) && !(user?.ckey in X.ckeys_allowed) && !(target.ckey in X.ckeys_allowed))