Merge pull request #6830 from Citadel-Station-13/upstream-merge-37943
[MIRROR] Fix mindswap forcibly enabling ambient occlusion
This commit is contained in:
@@ -1537,9 +1537,7 @@ GLOBAL_LIST_EMPTY(preferences_datums)
|
||||
ambientocclusion = !ambientocclusion
|
||||
if(parent && parent.screen && parent.screen.len)
|
||||
var/obj/screen/plane_master/game_world/PM = locate(/obj/screen/plane_master/game_world) in parent.screen
|
||||
PM.filters -= AMBIENT_OCCLUSION
|
||||
if(ambientocclusion)
|
||||
PM.filters += AMBIENT_OCCLUSION
|
||||
PM.backdrop(parent.mob)
|
||||
|
||||
if("save")
|
||||
save_preferences()
|
||||
|
||||
Reference in New Issue
Block a user