From 274d30e2c5c8e0dfe320fcf4b0b00245d3a5fcaf Mon Sep 17 00:00:00 2001 From: Aronai Sieyes Date: Tue, 20 Jul 2021 21:23:18 -0400 Subject: [PATCH] These might be bad --- code/controllers/subsystems/assets.dm | 8 ++++---- code/modules/food/kitchen/microwave.dm | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/code/controllers/subsystems/assets.dm b/code/controllers/subsystems/assets.dm index 00d1693c06..75c23ff10f 100644 --- a/code/controllers/subsystems/assets.dm +++ b/code/controllers/subsystems/assets.dm @@ -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 diff --git a/code/modules/food/kitchen/microwave.dm b/code/modules/food/kitchen/microwave.dm index b781c4473b..aa04d7499e 100644 --- a/code/modules/food/kitchen/microwave.dm +++ b/code/modules/food/kitchen/microwave.dm @@ -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