diff --git a/code/modules/research/rdconsole.dm b/code/modules/research/rdconsole.dm index f88ccf14e03..5ebab391faf 100644 --- a/code/modules/research/rdconsole.dm +++ b/code/modules/research/rdconsole.dm @@ -422,8 +422,9 @@ won't update every console in existence) but it's more of a hassle to do. Also, SSblackbox.record_feedback("nested tally", "RND Production List", amount, list("[being_built.category]", "[being_built.name]")) for(var/i in 1 to amount) var/obj/item/new_item = new being_built.build_path(src) - new_item.pixel_x = rand(-5, 5) - new_item.pixel_y = rand(-5, 5) + if(istype(new_item)) // Only want a random pixel offset if it IS actually an item, and not a structure like a bluespace closet + new_item.pixel_x = rand(-5, 5) + new_item.pixel_y = rand(-5, 5) if(istype(new_item, /obj/item/storage/backpack/holding)) new_item.investigate_log("built by [key]","singulo") if(!istype(new_item, /obj/item/stack/sheet)) // To avoid materials dupe glitches