haha whoops

This commit is contained in:
mountaindrew10 committed 2024-09-14 13:41:56 -05:00
1 parent 05bae1c145
commit c377e792e3
1 file changed
+1 -1
+1 -1
View File
@@ -345,7 +345,7 @@ namespace CalamityMod.NPCs.SlimeGod
Vector2 velocity = (player.Center - NPC.Center).SafeNormalize(new Vector2(NPC.direction, 0f)) * maxChargeVelocity;
NPC.velocity = velocity * chargeVelocityMult;
if (NPC.Distance(player.Center) > minChargeSafeDistance)
if (NPC.Distance(player.Center) < minChargeSafeDistance)
{
// Avoid cheap bullshit
NPC.damage = 0;