Skip to content

Commit

Permalink
oh no more stuff is broken
Browse files Browse the repository at this point in the history
  • Loading branch information
carpotoxin committed Oct 18, 2024
1 parent 9088200 commit 65d4ffb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions modular_doppler/modular_customization/preferences/ears.dm
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@

/// All current ear types to choose from
// Cat
/datum/preference/choiced/ears
/datum/preference/choiced/felinid_ears
category = PREFERENCE_CATEGORY_CLOTHING
relevant_external_organ = null
should_generate_icons = TRUE
main_feature_name = "Ears"

/datum/preference/choiced/ears/is_accessible(datum/preferences/preferences)
/datum/preference/choiced/felinid_ears/is_accessible(datum/preferences/preferences)
. = ..()
var/datum/species/species = preferences.read_preference(/datum/preference/choiced/species)
if(species.type in GLOB.species_blacklist_no_mutant)
Expand All @@ -88,15 +88,15 @@
return TRUE
return FALSE

/datum/preference/choiced/ears/create_default_value()
/datum/preference/choiced/felinid_ears/create_default_value()
return /datum/sprite_accessory/ears/none::name

/datum/preference/choiced/ears/apply_to_human(mob/living/carbon/human/target, value)
/datum/preference/choiced/felinid_ears/apply_to_human(mob/living/carbon/human/target, value)
..()
if(target.dna.ear_type == CAT)
target.dna.features["ears"] = value

/datum/preference/choiced/ears/icon_for(value)
/datum/preference/choiced/felinid_ears/icon_for(value)
var/datum/sprite_accessory/chosen_ears = SSaccessories.ears_list[value]
return generate_ears_icon(chosen_ears)

Expand Down
2 changes: 1 addition & 1 deletion modular_doppler/modular_customization/tri_color/tail.dm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
data[SUPPLEMENTAL_FEATURE_KEY] = /datum/preference/tri_color/tail_color::savefile_key
return data

/datum/preference/choiced/tail_human/compile_constant_data()
/datum/preference/choiced/tail_felinid/compile_constant_data()
var/list/data = ..()
data[SUPPLEMENTAL_FEATURE_KEY] = /datum/preference/tri_color/tail_color::savefile_key
return data
Expand Down

0 comments on commit 65d4ffb

Please sign in to comment.