Ghost lighting now updates prefs (#91592)

This commit is contained in:
John Willard
2025-06-14 00:16:37 -06:00
committed by GitHub
parent 867d3f4aa2
commit d8a032cb56
5 changed files with 25 additions and 28 deletions
+1 -2
View File
@@ -986,8 +986,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
var/datum/preferences/prefs = client?.prefs
if(!prefs || (client?.combo_hud_enabled && prefs.toggles & COMBOHUD_LIGHTING))
return ..()
return GLOB.ghost_lighting_options[prefs.read_preference(/datum/preference/choiced/ghost_lighting)]
return GLOB.ghost_lightings[prefs.read_preference(/datum/preference/choiced/ghost_lighting)]
/// Called when we exit the orbiting state
/mob/dead/observer/proc/on_deorbit(datum/source)