Skip to content

Commit

Permalink
[MIRROR] Fix Enviro suit lights staying on when welder visor is put d…
Browse files Browse the repository at this point in the history
…own [MDB IGNORE] (#2991)

* Fix Enviro suit lights staying on when welder visor is put down (#83858)

## About The Pull Request
Adds a missing `set_light_on(FALSE)` to `adjust_visor`

## Why It's Good For The Game
The head light is not supposed to be able to be on when the visor is
down. The helmet model would show an off light but still continue to
produce light if the welding visor was put on when the light was on.
fix #45882 

## Changelog
:cl: Goat
fix: Enviro suit lights no longer stay on when the welding visor is
activated.
/:cl:

* Fix Enviro suit lights staying on when welder visor is put down

---------

Co-authored-by: Goat <[email protected]>
Co-authored-by: NovaBot13 <[email protected]>
  • Loading branch information
3 people authored and StealsThePRs committed Jun 12, 2024
1 parent 57df0ee commit 6c14646
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/modules/clothing/spacesuits/plasmamen.dm
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
return
if(helmet_on)
to_chat(user, span_notice("Your helmet's torch can't pass through your welding visor!"))
set_light_on(FALSE)
helmet_on = FALSE
playsound(src, 'sound/mecha/mechmove03.ogg', 50, TRUE) //Visors don't just come from nothing
update_appearance()
Expand Down

0 comments on commit 6c14646

Please sign in to comment.