Mediborgs can transplant organs again (#13537)

This commit is contained in:
VisVirific
2022-04-16 16:32:29 -03:00
committed by GitHub
parent ec9a6aeb09
commit 774ede40bb
3 changed files with 8 additions and 2 deletions

View File

@@ -71,7 +71,6 @@
/obj/item/organ/internal/liver/handle_regeneration()
if(..())
testing("Liver regenerating!")
if(!owner.total_radiation && damage > 0)
if(damage < min_broken_damage)
heal_damage(0.2)

View File

@@ -135,7 +135,7 @@ proc/spread_germs_to_organ(var/obj/item/organ/external/E, var/mob/living/carbon/
return TRUE
// Otherwise we can make a start on surgery!
else if(istype(M) && !QDELETED(M) && user.get_active_hand() == tool)
else if(istype(M) && !QDELETED(M) && tool)
// Double-check this in case it changed between initial check and now.
if(zone in M.op_stage.in_progress)
to_chat(user, SPAN_WARNING("You can't operate on this area while surgery is already in progress."))

View File

@@ -0,0 +1,7 @@
author: Vrow
delete-after: True
changes:
- bugfix: "Fixed Medical Stationbounds being unable to perform organ transplants."
- bugfix: "Removed a debug message as liver regenerates"