Ghost "Toggle Darkness" value is now remembered (#17206)

This commit is contained in:
S34N
2022-01-11 23:20:53 +01:00
committed by GitHub
parent 0e24c24f52
commit d273e9db9a
9 changed files with 35 additions and 17 deletions
@@ -114,6 +114,8 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts
var/list/datum/character_save/character_saves = list()
/// The current active character
var/datum/character_save/active_character
/// How dark things are if client is a ghost, 0-255
var/ghost_darkness_level = LIGHTING_PLANE_ALPHA_VISIBLE
/datum/preferences/New(client/C, datum/db_query/Q) // Process our query
parent = C