Farmbots can be constructed again

This commit is contained in:
Anewbe
2016-12-31 17:16:34 -06:00
parent dc89eb5700
commit 24fcd2523b
3 changed files with 38 additions and 2 deletions

View File

@@ -338,7 +338,7 @@
new /obj/item/weapon/farmbot_arm_assembly(loc, src)
/obj/structure/reagent_dispensers/watertank/attackby(var/obj/item/organ/external/S, mob/user as mob)
if ((!istype(S, /obj/item/organ/external/arm)) && (!S.robotic == ORGAN_ROBOT))
if ((!istype(S, /obj/item/organ/external/arm)) || (!S.robotic == ORGAN_ROBOT))
..()
return

View File

@@ -93,7 +93,7 @@
if(standard_pour_into(user, target))
return
if(reagents.total_volume)
if(reagents && reagents.total_volume)
user << "<span class='notice'>You splash the solution onto [target].</span>"
reagents.splash(target, reagents.total_volume)
return