Using metal on a robot frame now correctly spawns an ED-209 assembly.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@805 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
crazyclonetheninja
2011-01-07 20:01:24 +00:00
parent 17fccca65d
commit d50b229d06
+1
View File
@@ -73,6 +73,7 @@
/obj/item/robot_parts/robot_suit/attackby(obj/item/W as obj, mob/user as mob)
if(istype(W, /obj/item/stack/sheet/metal))
var/obj/item/weapon/ed209_assembly/B = new /obj/item/weapon/ed209_assembly
B.loc = get_turf(src)
user << "You armed the robot frame"
W:use(1)
if (user.get_inactive_hand()==src)