Fix Scree and Scree Accessories

This commit is contained in:
Leshana
2018-04-21 23:22:08 -04:00
parent 3304ab2003
commit 8ac6b0bfe9

View File

@@ -73,8 +73,10 @@
if(!(path in negative_traits)) if(!(path in negative_traits))
pref.neg_traits -= path pref.neg_traits -= path
if(!pref.custom_base || !(pref.custom_base in custom_species_bases)) if(pref.species == pref.custom_base && pref.species != SPECIES_CUSTOM)
pref.custom_base = "Human" // Allowed!
else if(!pref.custom_base || !(pref.custom_base in custom_species_bases))
pref.custom_base = SPECIES_HUMAN
/datum/category_item/player_setup_item/vore/traits/copy_to_mob(var/mob/living/carbon/human/character) /datum/category_item/player_setup_item/vore/traits/copy_to_mob(var/mob/living/carbon/human/character)
character.custom_species = pref.custom_species character.custom_species = pref.custom_species
@@ -148,8 +150,11 @@
return TOPIC_REFRESH return TOPIC_REFRESH
else if(href_list["custom_base"]) else if(href_list["custom_base"])
var/text_choice = input("Pick an icon set for your species:","Icon Base") in custom_species_bases var/list/choices = custom_species_bases
if(text_choice in custom_species_bases) if(pref.species != SPECIES_CUSTOM)
choices = (choices | pref.species)
var/text_choice = input("Pick an icon set for your species:","Icon Base") in choices
if(text_choice in choices)
pref.custom_base = text_choice pref.custom_base = text_choice
return TOPIC_REFRESH_UPDATE_PREVIEW return TOPIC_REFRESH_UPDATE_PREVIEW