From cd50cf6b70ec70d4cedeb5fd14805409c70694f3 Mon Sep 17 00:00:00 2001 From: fgenesis Date: Wed, 8 May 2024 04:52:25 +0200 Subject: [PATCH] need sleep aaaa --- Aquaria/DSQ.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Aquaria/DSQ.cpp b/Aquaria/DSQ.cpp index a3b135a..a3d7f2b 100644 --- a/Aquaria/DSQ.cpp +++ b/Aquaria/DSQ.cpp @@ -715,8 +715,10 @@ static bool preRenderAfterEffectLayer(const RenderState& rs) { if(core->darkLayer.isUsed() // LR_DARK_LAYER is remapped to LR_ELEMENTS13 via renderLayerOrder, - // need to actually check LR_DARK_LAYER here + // need to actually check LR_DARK_LAYER here. + // HACK: For good measure let's check both && core->getRenderObjectLayer(LR_DARK_LAYER)->visible + && core->getRenderObjectLayer(LR_ELEMENTS13)->visible ) { core->darkLayer.render(rs);