fix: don't draw liquid behind tiles when edge renderer is active

This commit is contained in:
Stephen Thiebaud committed 2025-11-11 21:50:07 -06:00
1 parent 45d796242b
commit bb58efd571
1 file changed
+1 -1
+1 -1
View File
@@ -100,7 +100,7 @@ namespace CalamityMod.Systems
Stopwatch stopwatch = new Stopwatch();
stopwatch.Start();
Vector2 drawOffset = (Vector2)(Main.drawToScreen ? Vector2.Zero : new Vector2((float)Main.offScreenRange, (float)Main.offScreenRange)) - Main.screenPosition;
if (bg)
if (bg && !LiquidEdgeRenderer.Active)
{
DrawLiquidBehindTiles(lavaStyle);
}