diff --git a/Backgrounds/SunkenSeaBurrowsBG.cs b/Backgrounds/SunkenSeaBurrowsBG.cs index c7bf587001..0d8b2e00d9 100644 --- a/Backgrounds/SunkenSeaBurrowsBG.cs +++ b/Backgrounds/SunkenSeaBurrowsBG.cs @@ -21,8 +21,7 @@ namespace CalamityMod.Backgrounds { return; } - - On_Main.CheckMonoliths += DrawToTarget; + On_Main.DrawBackgroundBlackFill += On_Main_DrawBackgroundBlackFill; Main.QueueMainThreadAction(() => WaterDistortionTarget = new(true, ManagedRenderTarget.CreateScreenSizedTarget)); @@ -149,6 +148,8 @@ namespace CalamityMod.Backgrounds CurrentlyRendering = false; orig(); + + Main.spriteBatch.Begin(); // TODO: [SPRITEBATCH DEBUG] Dummy replacement } private void On_Main_DrawBackgroundBlackFill(On_Main.orig_DrawBackgroundBlackFill orig, Main self) diff --git a/Systems/Graphic/LiquidSystem/ModLavaStyleSystem_RT.cs b/Systems/Graphic/LiquidSystem/ModLavaStyleSystem_RT.cs index 640b8020d3..384c3770cd 100644 --- a/Systems/Graphic/LiquidSystem/ModLavaStyleSystem_RT.cs +++ b/Systems/Graphic/LiquidSystem/ModLavaStyleSystem_RT.cs @@ -81,7 +81,7 @@ namespace CalamityMod.Systems.Graphic.LiquidSystem Begin(); DrawTextures(WaterfallTextures); End(); - + graphicsDevice.SetRenderTarget(null); }