fix: don't draw liquid behind tiles when edge renderer is active
This commit is contained in:
1 parent
45d796242b
commit
bb58efd571
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user