From f84e7e8e8d90f77c2d5599edf75dbbbe14b2e24d Mon Sep 17 00:00:00 2001 From: Krausus Date: Sat, 30 May 2015 06:25:46 -0400 Subject: [PATCH] Fixes losing items when dismantling machine frames --- code/game/machinery/constructable_frame.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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