mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-27 18:42:19 +00:00
Fixes cyborgs putting items on Operating Tables and Janitor Borgs trashbags.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user