Return FALSE

This commit is contained in:
ShadowLarkens
2020-09-18 21:16:18 -07:00
parent ef846b5807
commit 73c29e319d
4 changed files with 8 additions and 8 deletions

View File

@@ -120,7 +120,7 @@
/datum/surgery_step/cavity/place_item/can_use(mob/living/user, mob/living/carbon/human/target, target_zone, obj/item/tool)
if(!istype(tool))
return 0
return FALSE
if(..())
var/obj/item/organ/external/affected = target.get_organ(target_zone)
if(istype(user,/mob/living/silicon/robot))

View File

@@ -29,7 +29,7 @@
/datum/surgery_step/limb/attach/can_use(mob/living/user, mob/living/carbon/human/target, target_zone, obj/item/tool)
if(!istype(tool))
return 0
return FALSE
var/obj/item/organ/external/E = tool
var/obj/item/organ/external/P = target.organs_by_name[E.parent_organ]
var/obj/item/organ/external/affected = target.get_organ(target_zone)

View File

@@ -165,7 +165,7 @@
return 0
if(!istype(tool))
return 0
return FALSE
var/obj/item/organ/external/affected = target.get_organ(target_zone)
@@ -231,7 +231,7 @@
return 0
if(!istype(tool))
return 0
return FALSE
target.op_stage.current_organ = null
@@ -368,7 +368,7 @@
return 0
if(!istype(tool))
return 0
return FALSE
target.op_stage.current_organ = null
@@ -427,7 +427,7 @@
return 0
if(!istype(tool))
return 0
return FALSE
target.op_stage.current_organ = null