Skip to content

Commit

Permalink
aaaa
Browse files Browse the repository at this point in the history
  • Loading branch information
ihatethisengine committed Mar 19, 2024
1 parent 3c7b7db commit 89a2351
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions code/game/objects/items/devices/helmet_visors.dm
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@

if(user.client.view > 7)
to_chat(user, SPAN_WARNING("You cannot use \the [src] while using optics."))
return
return FALSE

if(!NVG_VISOR_USAGE(FALSE))
to_chat(user, SPAN_NOTICE("Your [src] is out of power! You'll need to recharge it."))
Expand All @@ -300,7 +300,8 @@
SIGNAL_HANDLER
if(new_size > 7) // cannot use binos with NVO
var/obj/item/clothing/head/helmet/marine/attached_helmet = loc
deactivate_visor(attached_helmet, user)
if(istype(attached_helmet))
attached_helmet.turn_off_visors(user)

#undef NVG_VISOR_USAGE

Expand Down

0 comments on commit 89a2351

Please sign in to comment.