1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-01-24 17:26:41 +00:00

need sleep aaaa

This commit is contained in:
fgenesis 2024-05-08 04:52:25 +02:00
parent 0f98893f28
commit cd50cf6b70

View file

@ -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);