diff --git a/code/game/objects/items/apc_frame.dm b/code/game/objects/items/apc_frame.dm index f2e760a34a..953b1339a3 100644 --- a/code/game/objects/items/apc_frame.dm +++ b/code/game/objects/items/apc_frame.dm @@ -24,7 +24,7 @@ if (!istype(loc, /turf/simulated/floor)) usr << "\red APC cannot be placed on this spot." return - if (A.requires_power == 0 || A.name == "Space") + if (A.requires_power == 0 || istype(A, /area/space)) usr << "\red APC cannot be placed in this area." return if (A.get_apc()) diff --git a/code/game/objects/items/blueprints.dm b/code/game/objects/items/blueprints.dm index 4c1242160a..f0d8a820c0 100644 --- a/code/game/objects/items/blueprints.dm +++ b/code/game/objects/items/blueprints.dm @@ -80,7 +80,7 @@ move an amendment to the drawing.

return A /obj/item/blueprints/proc/get_area_type(var/area/A = get_area()) - if (A.name == "Space") + if(istype(A, /area/space)) return AREA_SPACE var/list/SPECIALS = list( /area/shuttle,