mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-29 15:06:39 +01:00
Merge pull request #3255 from VOREStation/aro-robocheck
Fix incorrect robolimb checks
This commit is contained in:
@@ -343,7 +343,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
|
||||
|
||||
|
||||
@@ -333,7 +333,7 @@
|
||||
qdel(src)
|
||||
|
||||
/obj/item/weapon/storage/firstaid/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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user