mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-22 04:24:20 +01:00
Replaces typesof with subtypesof where applicable
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
/datum/genetree/New(var/obj/machinery/networked/biomass_controller/holder)
|
||||
biomass = holder
|
||||
// Build list of all sectors
|
||||
for(var/typepath in typesof(/datum/genetic_sector) - /datum/genetic_sector)
|
||||
for(var/typepath in subtypesof(/datum/genetic_sector))
|
||||
var/datum/genetic_sector/sector = new typepath
|
||||
sectors[sector.id]=sector
|
||||
|
||||
|
||||
Reference in New Issue
Block a user