[MIRROR] Fixes accessories and a few others not showing properly (#10288)

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-03-02 18:36:47 -07:00
committed by GitHub
parent 30d6333782
commit 413c06dd5b
2 changed files with 9 additions and 9 deletions

View File

@@ -20,14 +20,15 @@
max_heat_protection_temperature = GLOVES_MAX_HEAT_PROTECTION_TEMPERATURE
/obj/item/clothing/gloves/regen/equipped(var/mob/user)
if(ishuman(user))
var/mob/living/carbon/human/H = user
if(H.gloves == src)
wearer = WEAKREF(H)
if(H.can_feel_pain())
to_chat(H, span_danger("You feel a stabbing sensation in your hands as you slide \the [src] on!"))
H.custom_pain("You feel a sharp pain in your hands!",1)
..()
if(ishuman(user))
var/mob/living/carbon/human/H = user
if(H.gloves == src)
wearer = WEAKREF(H)
if(H.can_feel_pain())
to_chat(H, span_danger("You feel a stabbing sensation in your hands as you slide \the [src] on!"))
H.custom_pain("You feel a sharp pain in your hands!",1)
..()
/obj/item/clothing/gloves/regen/dropped(var/mob/user)
..()

View File

@@ -58,7 +58,6 @@
return ..()
/obj/item/clothing/accessory/dosimeter/proc/check_holder()
var/mob/living/carbon/human/H = wearer?.resolve()
if(H)
if(current_film && (H.radiation >= 25) && (current_film.state == 0))