mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-06 15:32:52 +00:00
remove_from_mob() considered harmful
This commit is contained in:
@@ -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++
|
||||
|
||||
Reference in New Issue
Block a user