remove_from_mob() considered harmful

This commit is contained in:
mwerezak
2015-05-16 00:32:44 -04:00
parent 5d620ff05b
commit d71a727131

View File

@@ -161,7 +161,7 @@
/obj/item/weapon/cannonframe/attackby(obj/item/W as obj, mob/user as mob)
if(istype(W,/obj/item/pipe))
if(buildstate == 0)
user.remove_from_mob(W)
user.drop_from_inventory(W)
del(W)
user << "<span class='notice'>You secure the piping inside the frame.</span>"
buildstate++
@@ -179,7 +179,7 @@
return
else if(istype(W,/obj/item/device/transfer_valve))
if(buildstate == 4)
user.remove_from_mob(W)
user.drop_from_inventory(W)
del(W)
user << "<span class='notice'>You install the transfer valve and connect it to the piping.</span>"
buildstate++