Skip to content

Commit

Permalink
[MIRROR] process_visors no longer tries to steal accessories from kit…
Browse files Browse the repository at this point in the history
…tens (#2340)

Co-authored-by: Spookerton <[email protected]>
Co-authored-by: UEDCommander <[email protected]>
  • Loading branch information
3 people authored Jul 1, 2024
1 parent 8ea7f90 commit f08a8a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/mob/living/carbon/human/human_helpers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
add_client_color(/datum/client_color/nvg)
add_clothing_protection(mod)
mod.process_hud(src)
if (eyewear)
if (istype(eyewear))
for(var/obj/item/clothing/accessory/glassesmod/mod in eyewear.accessories)
if (mod?.active)
equipment_darkness_modifier += mod.darkness_view
Expand Down

0 comments on commit f08a8a9

Please sign in to comment.