mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-28 19:11:37 +00:00
Return FALSE
This commit is contained in:
@@ -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))
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user