no longer draws in boss rush
This commit is contained in:
1 parent
233653824c
commit
1f6a24e236
1 file changed
+2
-1
+2
-1
@@ -1,5 +1,6 @@
|
||||
using System.Collections.Generic;
|
||||
using CalamityMod.Effects;
|
||||
using CalamityMod.Events;
|
||||
using CalamityMod.Graphics.Primitives;
|
||||
using CalamityMod.NPCs.DevourerofGods;
|
||||
using CalamityMod.Systems.Graphic;
|
||||
@@ -222,7 +223,7 @@ namespace CalamityMod.Skies
|
||||
|
||||
public override void Draw(SpriteBatch spriteBatch, float minDepth, float maxDepth)
|
||||
{
|
||||
if (Main.gameMenu || !CalamityClientConfig.Instance.FancyBackgroundVisuals)
|
||||
if (Main.gameMenu || !CalamityClientConfig.Instance.FancyBackgroundVisuals || BossRushEvent.BossRushActive)
|
||||
return;
|
||||
|
||||
spriteBatch.End();
|
||||
|
||||
Reference in new issue
Block a user