mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
Merge pull request #13201 from Heroman3003/traitfix1
Fixes positive and negative traits being unsavable for non-custom species
This commit is contained in:
@@ -82,9 +82,6 @@
|
||||
pref.gross_meatbag = 1
|
||||
pref.dirty_synth = 0
|
||||
|
||||
if(pref.species != SPECIES_CUSTOM)
|
||||
pref.pos_traits.Cut()
|
||||
pref.neg_traits.Cut()
|
||||
// Clean up positive traits
|
||||
for(var/datum/trait/path as anything in pref.pos_traits)
|
||||
if(!(path in positive_traits))
|
||||
|
||||
Reference in New Issue
Block a user