Merge pull request #11192 from VOREStation/Arokha/hmm

These might be bad
This commit is contained in:
Aronai Sieyes
2021-07-20 21:38:35 -04:00
committed by GitHub
2 changed files with 7 additions and 7 deletions
+4 -4
View File
@@ -6,10 +6,10 @@ SUBSYSTEM_DEF(assets)
var/list/preload = list()
/datum/controller/subsystem/assets/Initialize(timeofday)
for(var/datum/asset/A as anything in typesof(/datum/asset))
if (type != initial(A._abstract))
get_asset_datum(type)
for(var/typepath in typesof(/datum/asset))
var/datum/asset/A = typepath
if (typepath != initial(A._abstract))
get_asset_datum(typepath)
preload = cache.Copy() //don't preload assets generated during the round
+3 -3
View File
@@ -43,9 +43,9 @@
if(!available_recipes)
available_recipes = new
for(var/datum/recipe/type as anything in subtypesof(/datum/recipe))
if((initial(type.appliance) & appliancetype))
available_recipes += new type
for(var/datum/recipe/typepath as anything in subtypesof(/datum/recipe))
if((initial(typepath.appliance) & appliancetype))
available_recipes += new typepath
acceptable_items = new
acceptable_reagents = new