mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 16:47:13 +01:00
Fixed plant analyzer crash when the plant graft gives reagent gene, rather than trait gene [NO GBP] (#89089)
## About The Pull Request  Didn't know that some plants have reagent traits defined for grafted traits. It didn't work because the trait_db contained only subtypes of `/datum/plant_gene/trait`, but not `/datum/plant_gene/reagent`. ## Why It's Good For The Game Fix ## Changelog 🆑 fix: Fixed plant analyzer UI crashing on plants that have a reagent gene on their graft fix: Plants with reagent traits in the graft now properly say the name of the grafted reagent /🆑
This commit is contained in:
@@ -104,5 +104,3 @@ GLOBAL_LIST_INIT(prototype_organs, typecacheof(list(
|
||||
/obj/item/organ/eyes/dullahan,
|
||||
), only_root_path = TRUE))
|
||||
|
||||
/// list of all plan traits
|
||||
GLOBAL_LIST_INIT(plant_traits, init_plant_traits())
|
||||
|
||||
Reference in New Issue
Block a user