Restores "soft" darksight vision.

The previous client-side optimization made lighting overlays go fully
opaque when it was dark, making it so species darksight didn't let you see
anything.  This fixes that by making a dark_soft icon state that has
opacity matching the LIGHTING_SOFT_THRESHOLD.
This commit is contained in:
Leshana
2017-04-12 21:43:07 -04:00
parent 5f629e2aca
commit d00c2596e8
3 changed files with 4 additions and 3 deletions

View File

@@ -88,7 +88,7 @@
icon_state = "transparent"
color = null
else if(!set_luminosity)
icon_state = "dark"
icon_state = LIGHTING_ICON_STATE_DARK
color = null
else
icon_state = null