mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
Cleans up player preferences panel
This commit is contained in:
@@ -1036,10 +1036,11 @@ GLOBAL_LIST_EMPTY(custom_outfits) //Admin created outfits
|
||||
for(var/datum/atom_hud/antag/H in GLOB.huds) // add antag huds
|
||||
(adding_hud) ? H.add_hud_to(usr) : H.remove_hud_from(usr)
|
||||
|
||||
if (adding_hud)
|
||||
mob.lighting_alpha = LIGHTING_PLANE_ALPHA_INVISIBLE
|
||||
else
|
||||
mob.lighting_alpha = initial(mob.lighting_alpha)
|
||||
if(prefs.toggles & COMBOHUD_LIGHTING)
|
||||
if(adding_hud)
|
||||
mob.lighting_alpha = LIGHTING_PLANE_ALPHA_INVISIBLE
|
||||
else
|
||||
mob.lighting_alpha = initial(mob.lighting_alpha)
|
||||
|
||||
mob.update_sight()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user