diff --git a/code/game/machinery/constructable_frame.dm b/code/game/machinery/constructable_frame.dm
index a0bf06314d5..b0c1ff709ea 100644
--- a/code/game/machinery/constructable_frame.dm
+++ b/code/game/machinery/constructable_frame.dm
@@ -123,8 +123,8 @@
user << "You remove the circuit board."
else
user << "You remove the circuit board and other components."
- for(var/obj/item/weapon/W in components)
- W.loc = src.loc
+ for(var/obj/item/I in components)
+ I.loc = src.loc
desc = initial(desc)
req_components = null
components = null