Fixes cyborgs putting items on Operating Tables and Janitor Borgs trashbags.

This commit is contained in:
Ren Erthilo
2012-04-15 01:29:38 +01:00
parent cb94bb4646
commit d14be222b8
2 changed files with 8 additions and 4 deletions

View File

@@ -45,10 +45,6 @@
if(stat & BROKEN || !I || !user)
return
//robots shouldn't be able to grab/carry stuff anyway
if(isrobot(user))
return
if(istype(I, /obj/item/weapon/melee/energy/blade))
user << "You can't place that item inside the disposal unit."
return
@@ -62,6 +58,10 @@
update()
return
//robots shouldn't be able to grab/carry stuff anyway
if(isrobot(user))
return
if(istype(I, /obj/item/ashtray) && (I.health > 0))
user << "\blue You empty the ashtray into [src]."
for(var/obj/item/O in I.contents)