Skip to content

Commit

Permalink
Update code/controllers/subsystem/xenoarchaeology.dm
Browse files Browse the repository at this point in the history
Co-authored-by: EvilDragonfiend <[email protected]>
  • Loading branch information
DrDuckedGoose and EvilDragonfiend authored Sep 7, 2024
1 parent 39dab8c commit 5824597
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions code/controllers/subsystem/xenoarchaeology.dm
Original file line number Diff line number Diff line change
Expand Up @@ -227,15 +227,15 @@ SUBSYSTEM_DEF(xenoarchaeology)
if(initial(M.trait_flags) & initial(T.flags))
SSxenoarchaeology.labeler_tooltip_stats["[initial(T.label_name)]"]["availability"] += list(list("color" = initial(M.material_color), "icon" = initial(M.label_icon)))
//Sort trait into list
if(ispath(T, /datum/xenoartifact_trait/activator) && T != /datum/xenoartifact_trait/activator)
if(ispath(T, /datum/xenoartifact_trait/activator) && (T != /datum/xenoartifact_trait/activator))
activators += initial(T.label_name)
continue
if(ispath(T, /datum/xenoartifact_trait/minor) && T != /datum/xenoartifact_trait/minor)
if(ispath(T, /datum/xenoartifact_trait/minor) && (T != /datum/xenoartifact_trait/minor))
minors += initial(T.label_name)
continue
if(ispath(T, /datum/xenoartifact_trait/major) && T != /datum/xenoartifact_trait/major)
if(ispath(T, /datum/xenoartifact_trait/major) && (T != /datum/xenoartifact_trait/major))
majors += initial(T.label_name)
continue
if(ispath(T, /datum/xenoartifact_trait/malfunction) && T != /datum/xenoartifact_trait/malfunction)
if(ispath(T, /datum/xenoartifact_trait/malfunction) && (T != /datum/xenoartifact_trait/malfunction))
malfunctions += initial(T.label_name)
continue

0 comments on commit 5824597

Please sign in to comment.