Fixes light going through walls.

See https://github.com/tgstation/-tg-station/pull/5972 and https://github.com/tgstation/-tg-station/issues/2788.
Merge pull request #7112 from PsiOmegaDelta/LightningRealLightning

Fixes light going through walls.