Fixed light localization again

Not tested.
I wrote || instead of && at some place.