diff --git a/crates/horizon-client/src/game/end.rs b/crates/horizon-client/src/game/end.rs index 32d5113b0..b34a86183 100644 --- a/crates/horizon-client/src/game/end.rs +++ b/crates/horizon-client/src/game/end.rs @@ -253,9 +253,10 @@ impl Game<'_> { out } - /// LightmapRenderStateExtractor: End flashes add to the sky light factor. + /// LightmapRenderStateExtractor: End flashes add to the sky light factor + /// unless Hide Lightning Flashes is on (the sky sprite is not gated). pub(super) fn end_flash_sky(&self, sky: &mut horizon_client::environment::Sky, partial: f64) { - if self.dim == Dim::End { + if self.dim == Dim::End && !self.settings.file.bool("hideLightningFlashes") { sky.sky_light_factor += self.end.flash.intensity(partial as f32); } }