Skip to content

Commit

Permalink
woe rename apon thee
Browse files Browse the repository at this point in the history
  • Loading branch information
Qwertytoforty committed Nov 24, 2024
1 parent 8dea360 commit 3c9fdd0
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions code/modules/mob/living/carbon/carbon_life.dm
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,10 @@
/mob/living/carbon/proc/handle_dead_organs()
for(var/thing in internal_organs)
var/obj/item/organ/internal/O = thing
O.on_death()
O.dead_process()
for(var/organ_tag in internal_organ_datums)
var/datum/organ/datum_organ_var_name_idk = internal_organ_datums[organ_tag]
datum_organ_var_name_idk.on_death()
datum_organ_var_name_idk.dead_process()

/mob/living/carbon/handle_diseases()
for(var/thing in viruses)
Expand Down
2 changes: 1 addition & 1 deletion code/modules/surgery/organs/augments_internal.dm
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@
. = ..()
desc += " The implant has been hardened. It is invulnerable to EMPs."

/obj/item/organ/internal/cyberimp/chest/reviver/on_death()
/obj/item/organ/internal/cyberimp/chest/reviver/dead_process()
try_heal() // Allows implant to work even on dead people

/obj/item/organ/internal/cyberimp/chest/reviver/on_life()
Expand Down
2 changes: 1 addition & 1 deletion code/modules/surgery/organs/body_egg.dm
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
return
egg_process()

/obj/item/organ/internal/body_egg/on_death()
/obj/item/organ/internal/body_egg/dead_process()
if(!(src in owner.internal_organs)) // I can only presume this is here for a reason, so not touching it.
remove(owner)
return
Expand Down
2 changes: 1 addition & 1 deletion code/modules/surgery/organs/organ_datums/organ_datum.dm
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
/datum/organ/proc/on_life()
return

/datum/organ/proc/on_death()
/datum/organ/proc/dead_process()
return

/// Only called when the organ is robotic AND is not emp proof. Return true to override default functions
Expand Down
2 changes: 1 addition & 1 deletion code/modules/surgery/organs/organ_internal.dm
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
/obj/item/organ/internal/proc/on_life()
return

/obj/item/organ/internal/proc/on_death()
/obj/item/organ/internal/proc/dead_process()
return

//abstract proc called by carbon/death()
Expand Down

0 comments on commit 3c9fdd0

Please sign in to comment.