Fix meson goggles and lantern wisps conflicting (#38211)

This commit is contained in:
Tad Hardesty
2018-06-07 18:33:22 -07:00
committed by letterjay
parent 1fbf5af360
commit f962a02ef7
2 changed files with 20 additions and 7 deletions
+8
View File
@@ -842,6 +842,14 @@
return
/mob/proc/update_sight()
for(var/O in orbiters)
var/datum/orbit/orbit = O
var/obj/effect/wisp/wisp = orbit.orbiter
if (istype(wisp))
sight |= wisp.sight_flags
if(!isnull(wisp.lighting_alpha))
lighting_alpha = min(lighting_alpha, wisp.lighting_alpha)
sync_lighting_plane_alpha()
/mob/proc/sync_lighting_plane_alpha()