From 9e1c05df46289db509ea15b5dcb245597707c83e Mon Sep 17 00:00:00 2001 From: YouHaveTrouble Date: Wed, 7 Jan 2026 19:15:57 +0100 Subject: [PATCH] fix typo --- Projectiles/Weapons/ToclafaneMinion.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Projectiles/Weapons/ToclafaneMinion.cs b/Projectiles/Weapons/ToclafaneMinion.cs index d5119bf..cf35edd 100644 --- a/Projectiles/Weapons/ToclafaneMinion.cs +++ b/Projectiles/Weapons/ToclafaneMinion.cs @@ -128,7 +128,7 @@ public class ToclafaneMinion : ModProjectile { bool inRange = between < distanceFromTarget; bool lineOfSight = Collision.CanHitLine(Projectile.position, Projectile.width, Projectile.height, npc.position, npc.width, npc.height); - // Additional check for this specific minion behavior, otherwise it will stop attacking once it dashed through an enemy while flying though tiles afterwards + // Additional check for this specific minion behavior, otherwise it will stop attacking once it dashed through an enemy while flying though tiles afterward // The number depends on various parameters seen in the movement code below. Test different ones out until it works alright bool closeThroughWall = between < 100f; if (((!closest || !inRange) && foundTarget) || (!lineOfSight && !closeThroughWall)) continue; @@ -262,8 +262,6 @@ public class ToclafaneMinion : ModProjectile { break; } - break; - default: break; } }