Merge pull request #11903 from Ghommie/Ghommie-cit687

fix for my relatively minuscule backend refactor for holodeck.
This commit is contained in:
kevinz000
2020-04-18 19:32:50 -07:00
committed by GitHub
8 changed files with 83 additions and 41 deletions
-8
View File
@@ -89,14 +89,6 @@
INVOKE_ASYNC(GLOBAL_PROC, /proc/init_ref_coin_values) //so the current procedure doesn't sleep because of UNTIL()
for(var/path in subtypesof(/area/holodeck))
var/area/holodeck/A = path
var/list/compatibles = initial(A.compatible_holodeck_comps)
if(!compatibles || initial(A.abstract_type) == path)
continue
for(var/comp in compatibles)
LAZYADD(GLOB.holodeck_areas_prototypes[comp], A)
//creates every subtype of prototype (excluding prototype) and adds it to list L.
//if no list/L is provided, one is created.
/proc/init_subtypes(prototype, list/L)