diff --git a/NPCs/CalamityAI.cs b/NPCs/CalamityAI.cs index bd88248646..e062392c14 100644 --- a/NPCs/CalamityAI.cs +++ b/NPCs/CalamityAI.cs @@ -3736,7 +3736,10 @@ namespace CalamityMod.NPCs if (calamityGlobalNPC.newAI[1] == newPhaseTimer - 60f) { SoundEffectInstance sound = Main.PlaySound(SoundID.DD2_BetsyScream, (int)npc.position.X, (int)npc.position.Y); - sound.Pitch = 0.25f; + if (sound != null) + { + sound.Pitch = 0.25f; + } } if (calamityGlobalNPC.newAI[1] >= newPhaseTimer) @@ -3757,7 +3760,10 @@ namespace CalamityMod.NPCs if (calamityGlobalNPC.newAI[0] == newPhaseTimer - 60f) { SoundEffectInstance sound = Main.PlaySound(SoundID.DD2_BetsyScream, (int)npc.position.X, (int)npc.position.Y); - sound.Pitch = 0.25f; + if (sound != null) + { + sound.Pitch = 0.25f; + } } if (calamityGlobalNPC.newAI[0] >= newPhaseTimer) diff --git a/Projectiles/Boss/OverlyDramaticDukeSummoner.cs b/Projectiles/Boss/OverlyDramaticDukeSummoner.cs index f6f350c300..27bdabc719 100644 --- a/Projectiles/Boss/OverlyDramaticDukeSummoner.cs +++ b/Projectiles/Boss/OverlyDramaticDukeSummoner.cs @@ -211,7 +211,7 @@ namespace CalamityMod.Projectiles.Boss if (dist4 < minDist) minDist = dist4; - return minDist <= 210f * projectile.scale; + return minDist <= 240f * projectile.scale; } public override void OnHitPlayer(Player target, int damage, bool crit)