Minor Nightmode Fixes (#1305)

bugfix: "Global nightmode toggle no longer affects security as was originally intended."
tweak: "Manually turning on nightmode will prevent the automatic system from turning it off."
This commit is contained in:
Lohikar
2016-12-26 01:42:40 +02:00
committed by skull132
parent 4f32cc1231
commit 7375af6c19
6 changed files with 18 additions and 3 deletions
+1 -1
View File
@@ -903,7 +903,7 @@
return 1
if (href_list["lmode"])
src.toggle_nightlight()
src.toggle_nightlight(href_list["lmode"])
update_icon()
else if(!istype(usr, /mob/living/silicon) && (locked && !emagged))