[MIRROR] Change how a station trait is declared abstract [MDB IGNORE] (#25581)

Change how a station trait is declared abstract

Co-authored-by: Jacquerel <hnevard@gmail.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-12-24 21:30:34 +00:00
committed by GitHub
co-authored by Jacquerel Gandalf
parent e55cf9d67f
commit 25b05ac565
6 changed files with 11 additions and 24 deletions
@@ -58,7 +58,7 @@ PROCESSING_SUBSYSTEM_DEF(station)
setup_trait(trait_typepath)
continue
if(initial(trait_typepath.trait_flags) & STATION_TRAIT_ABSTRACT)
if(initial(trait_typepath.abstract_type) == trait_typepath)
continue //Dont add abstract ones to it
if(!(initial(trait_typepath.trait_flags) & STATION_TRAIT_PLANETARY) && SSmapping.is_planetary()) // we're on a planet but we can't do planet ;_;