cut overlays before applying new ones (#9653)

This commit is contained in:
Kashargul
2024-12-20 02:31:40 +01:00
committed by GitHub
parent 3144f7a362
commit c5fb5d13ae
2 changed files with 1 additions and 1 deletions

View File

@@ -375,7 +375,6 @@
H.SetBlinded(0) H.SetBlinded(0)
H.eye_blurry = 0 H.eye_blurry = 0
H.ear_deaf = 0 H.ear_deaf = 0
H.deaf_loop.stop() // CHOMPStation Add: Ear Ringing/Deafness
H.ear_damage = 0 H.ear_damage = 0
H.heal_overall_damage(H.getActualBruteLoss(), H.getActualFireLoss(), 1) H.heal_overall_damage(H.getActualBruteLoss(), H.getActualFireLoss(), 1)
for(var/I in H.organs_by_name) for(var/I in H.organs_by_name)

View File

@@ -1,6 +1,7 @@
/obj/item/organ/external/get_icon(var/skeletal, var/can_apply_transparency = TRUE) /obj/item/organ/external/get_icon(var/skeletal, var/can_apply_transparency = TRUE)
var/digitigrade = 0 var/digitigrade = 0
cut_overlays()
// preferentially take digitigrade value from owner if available, THEN DNA. // preferentially take digitigrade value from owner if available, THEN DNA.
// this allows limbs to be set properly when being printed in the bioprinter without an owner // this allows limbs to be set properly when being printed in the bioprinter without an owner
// this also allows the preview mannequin to update properly because customisation topic calls don't call a DNA check // this also allows the preview mannequin to update properly because customisation topic calls don't call a DNA check