POLARIS: Fix the seedarkness variable

Now essentially works as a "permanent darksight adjustment" variable, removing the slow change.
This commit is contained in:
Arokha Sieyes
2018-02-15 01:23:37 -06:00
parent 76fa2f82bf
commit 26fea6a875
+4
View File
@@ -214,6 +214,10 @@
return FALSE
/mob/living/proc/handle_darksight()
if(!seedarkness) //Cheap 'always darksight' var
dsoverlay.alpha = 255
return
var/darksightedness = min(see_in_dark/world.view,1.0) //A ratio of how good your darksight is, from 'nada' to 'really darn good'
var/current = dsoverlay.alpha/255 //Our current adjustedness