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 -1
View File
@@ -429,7 +429,7 @@
/// Returns this mob's default lighting alpha
/mob/proc/default_lighting_cutoff()
if(client?.combo_hud_enabled && client?.prefs?.toggles & COMBOHUD_LIGHTING)
if(client?.combo_hud_enabled && (client?.prefs?.toggles & COMBOHUD_LIGHTING))
return LIGHTING_CUTOFF_FULLBRIGHT
return initial(lighting_cutoff)