Custom Species

we'll ensure it's set to null upon changing, just in case
This commit is contained in:
Poojawa
2019-04-15 14:12:45 -05:00
parent f767069dc2
commit ce7a42c5cd

View File

@@ -1458,6 +1458,7 @@ GLOBAL_LIST_EMPTY(preferences_datums)
var/newtype = GLOB.species_list[result]
pref_species = new newtype()
//let's ensure that no weird shit happens on species swapping.
custom_species = null
if(!("body_markings" in pref_species.default_features))
features["body_markings"] = "None"
if(!("mam_body_markings" in pref_species.default_features))