Files
Bubberstation/code/modules/client/preferences/ambient_occlusion.dm

14 lines
520 B
Plaintext

/// Whether or not to toggle ambient occlusion, the shadows around people
/datum/preference/toggle/ambient_occlusion
category = PREFERENCE_CATEGORY_GAME_PREFERENCES
savefile_key = "ambientocclusion"
savefile_identifier = PREFERENCE_PLAYER
/datum/preference/toggle/ambient_occlusion/apply_to_client(client/client, value)
/// Backdrop for the game world plane.
var/atom/movable/screen/plane_master/game_world/plane_master = locate() in client?.screen
if (!plane_master)
return
plane_master.backdrop(client.mob)