Fix mindswap forcibly enabling ambient occlusion

This commit is contained in:
Tad Hardesty
2018-05-19 21:56:28 -07:00
parent 028231cb81
commit b5d0e1e256
3 changed files with 3 additions and 3 deletions
+1 -3
View File
@@ -1490,9 +1490,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()