Removing comments

This commit is contained in:
Sharkmare
2021-03-09 07:06:13 +01:00
parent 3e859092b3
commit d6ea007a37
2 changed files with 3 additions and 4 deletions
@@ -342,11 +342,11 @@
if(pref.species in instance.banned_species)
alert("The trait you've selected cannot be taken by the species you've chosen!","Error")
return TOPIC_REFRESH
//VORSTATION ADDITION CHOMPADDITION START Adding whitelist for traits
if( LAZYLEN(instance.allowed_species) && !(pref.species in instance.allowed_species)) //Adding white list handling -shark
alert("The trait you've selected cannot be taken by the species you've chosen!","Error")
return TOPIC_REFRESH
//VORSTATION ADDITION CHOMPADDITION END
if(trait_choice in pref.pos_traits + pref.neu_traits + pref.neg_traits)
conflict = instance.name