Minor plant controller refactor.

This commit is contained in:
MistakeNot4892
2021-03-26 12:20:50 +11:00
parent cccb2a159f
commit a799725c24
3 changed files with 5 additions and 8 deletions

View File

@@ -18,6 +18,8 @@ SUBSYSTEM_DEF(atoms)
var/list/BadInitializeCalls = list()
/datum/controller/subsystem/atoms/Initialize(timeofday)
if(!plant_controller) // Initialize seed repo for /obj/item/seed and /obj/item/weapon/grown
plant_controller = new
setupgenetics() //to set the mutations' place in structural enzymes, so initializers know where to put mutations.
initialized = INITIALIZATION_INNEW_MAPLOAD
to_world_log("Initializing objects")