Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
AndroBetel committed Feb 1, 2024
1 parent 96ca249 commit 96de66c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
12 changes: 0 additions & 12 deletions code/game/objects/items/devices/helmet_visors.dm
Original file line number Diff line number Diff line change
Expand Up @@ -84,18 +84,6 @@
name = "advanced medical optic"
helmet_overlay = "med_sight_left"

/obj/item/device/helmet_visor/medical/advanced/activate_visor(obj/item/clothing/head/helmet/marine/attached_helmet, mob/living/carbon/human/user)
. = ..()

var/datum/action/item_action/view_publications/helmet_visor/publication_action = new(attached_helmet)
publication_action.give_to(user)

/obj/item/device/helmet_visor/medical/advanced/deactivate_visor(obj/item/clothing/head/helmet/marine/attached_helmet, mob/living/carbon/human/user)
. = ..()

var/datum/action/item_action/view_publications/helmet_visor/publication_action = locate() in attached_helmet.actions
qdel(publication_action)

/obj/item/device/helmet_visor/medical/advanced/can_toggle(mob/living/carbon/human/user)
. = ..()
if(!.)
Expand Down
2 changes: 1 addition & 1 deletion code/modules/clothing/glasses/hud.dm
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
flags_armor_protection = 0
toggleable = TRUE
hud_type = MOB_HUD_MEDICAL_ADVANCED
actions_types = list(/datum/action/item_action/toggle, /datum/action/item_action/view_publications)
actions_types = list(/datum/action/item_action/toggle)
req_skill = SKILL_MEDICAL
req_skill_level = SKILL_MEDICAL_MEDIC

Expand Down

0 comments on commit 96de66c

Please sign in to comment.