fixed mantis scythe spam and added a netmode check

This commit is contained in:
termigator1359 committed 2020-07-02 12:43:25 -04:00
1 parent 1f328f188a
commit 6fb28f6ef7
1 file changed
+1 -1
+1 -1
View File
@@ -110,7 +110,7 @@ namespace CalamityMod.NPCs.Astral
{
npc.ai[2] += 1f;
npc.velocity.X *= 0.95f;
if (npc.ai[2] >= 20f)
if (npc.ai[2] == 20f && Main.netMode != NetmodeID.MultiplayerClient) //Don't do >= 20f or it'll cause a wave of scythes
{
Main.PlaySound(SoundID.Item71, npc.position);
Vector2 vector = Main.player[npc.target].Center - npc.Center;