Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Zonespace <[email protected]>
  • Loading branch information
Drulikar and Zonespace27 authored Mar 30, 2024
1 parent 5fb1056 commit 3e8237e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/client/preferences_toggles.dm
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@
if(result == "White")
prefs.flash_overlay_pref = FLASH_OVERLAY_WHITE
to_chat(src, SPAN_NOTICE("If flashed your vision will now be white."))
if(result == "Dark")
else if(result == "Dark")
prefs.flash_overlay_pref = FLASH_OVERLAY_DARK
to_chat(src, SPAN_NOTICE("If flashed your vision will now be dark."))
prefs.save_preferences()
Expand All @@ -481,7 +481,7 @@
if(result == "White")
prefs.crit_overlay_pref = CRIT_OVERLAY_WHITE
to_chat(src, SPAN_NOTICE("If in critical condition your vision will now be white."))
if(result == "Dark")
else if(result == "Dark")
prefs.crit_overlay_pref = CRIT_OVERLAY_DARK
to_chat(src, SPAN_NOTICE("If in critical condition your vision will now be dark."))
prefs.save_preferences()
Expand Down

0 comments on commit 3e8237e

Please sign in to comment.