Skip to content

Commit

Permalink
woops
Browse files Browse the repository at this point in the history
  • Loading branch information
AndroBetel committed Sep 21, 2024
1 parent 4b7e3f8 commit af70043
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions code/game/objects/items/devices/helmet_visors.dm
Original file line number Diff line number Diff line change
Expand Up @@ -64,22 +64,12 @@
if(isnull(GLOB.huds[hud_type]?.hudusers[user]))
var/datum/mob_hud/current_mob_hud = GLOB.huds[hud_type]
current_mob_hud.add_hud_to(user, attached_helmet)
user.client.mouse_pointer_icon = 'icons/effects/cursors/aim_reticle.dmi'
user.client.color = "#F9D7C3"
user.overlay_fullscreen("optic", /atom/movable/screen/fullscreen/flash/noise/nvg)
ADD_TRAIT(user, TRAIT_HUD_SIGHT, src)
user.face_mouse = TRUE

/// Called by toggle_visor() to deactivate the visor's effects
/obj/item/device/helmet_visor/proc/deactivate_visor(obj/item/clothing/head/helmet/marine/attached_helmet, mob/living/carbon/human/user)
if(!isnull(GLOB.huds[hud_type]?.hudusers[user]))
var/datum/mob_hud/current_mob_hud = GLOB.huds[hud_type]
current_mob_hud.remove_hud_from(user, attached_helmet)
user.client.mouse_pointer_icon = initial(user.client.mouse_pointer_icon)
user.client.color = initial(user.client.color)
user.clear_fullscreen("optic", 0.5 SECONDS)
REMOVE_TRAIT(user, TRAIT_HUD_SIGHT, src)
user.face_mouse = FALSE

/// Called by /obj/item/clothing/head/helmet/marine/get_examine_text(mob/user) to get extra examine text for this visor
/obj/item/device/helmet_visor/proc/get_helmet_examine_text()
Expand Down

0 comments on commit af70043

Please sign in to comment.