mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-10 23:54:14 +01:00
Ghost lighting now updates prefs (#91592)
This commit is contained in:
@@ -1,10 +1,3 @@
|
||||
GLOBAL_LIST_INIT(ghost_lighting_options, list(
|
||||
"Fullbright" = LIGHTING_CUTOFF_FULLBRIGHT,
|
||||
"Night Vision" = LIGHTING_CUTOFF_HIGH,
|
||||
"Darker" = LIGHTING_CUTOFF_MEDIUM,
|
||||
"Normal" = LIGHTING_CUTOFF_VISIBLE,
|
||||
))
|
||||
|
||||
/// How bright a ghost's lighting plane is
|
||||
/datum/preference/choiced/ghost_lighting
|
||||
category = PREFERENCE_CATEGORY_GAME_PREFERENCES
|
||||
@@ -16,7 +9,7 @@ GLOBAL_LIST_INIT(ghost_lighting_options, list(
|
||||
|
||||
/datum/preference/choiced/ghost_lighting/init_possible_values()
|
||||
var/list/values = list()
|
||||
for(var/option_name in GLOB.ghost_lighting_options)
|
||||
for(var/option_name in GLOB.ghost_lightings)
|
||||
values += option_name
|
||||
return values
|
||||
|
||||
|
||||
Reference in New Issue
Block a user