From 96de66c3715f2ea11d2c626f2c4918dbea089e3c Mon Sep 17 00:00:00 2001 From: AndroBetel <44546836+AndroBetel@users.noreply.github.com> Date: Fri, 2 Feb 2024 01:54:12 +0300 Subject: [PATCH] 1 --- code/game/objects/items/devices/helmet_visors.dm | 12 ------------ code/modules/clothing/glasses/hud.dm | 2 +- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/code/game/objects/items/devices/helmet_visors.dm b/code/game/objects/items/devices/helmet_visors.dm index 596409c88c..7bdcf2339d 100644 --- a/code/game/objects/items/devices/helmet_visors.dm +++ b/code/game/objects/items/devices/helmet_visors.dm @@ -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(!.) diff --git a/code/modules/clothing/glasses/hud.dm b/code/modules/clothing/glasses/hud.dm index e4f9bdde48..db4669ae14 100644 --- a/code/modules/clothing/glasses/hud.dm +++ b/code/modules/clothing/glasses/hud.dm @@ -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