mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 12:37:50 +01:00
undefined var fix
This commit is contained in:
@@ -20,7 +20,6 @@
|
||||
icon_state = "shadekin"
|
||||
do_colouration = 1
|
||||
color_blend_mode = ICON_MULTIPLY
|
||||
apply_restrictions = TRUE
|
||||
species_allowed = list(SPECIES_SHADEKIN, SPECIES_SHADEKIN_CREW)
|
||||
|
||||
// Ears avaliable to anyone
|
||||
|
||||
@@ -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(X.apply_restrictions && !(target.species.name in X.species_allowed))
|
||||
if(!(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))
|
||||
|
||||
Reference in New Issue
Block a user