mmm yeah
This commit is contained in:
1 parent
8149ef0ffc
commit
5f5488efbc
1 file changed
+2
-1
@@ -69,7 +69,8 @@ namespace CalamityMod.Projectiles.Melee
|
||||
if (target is null || target.life <= 0 || !target.active || target.dontTakeDamage || target.immortal)
|
||||
{
|
||||
target = Projectile.Center.ClosestNPCAt(SmashHomingRange, bossPriority: true);
|
||||
SmashTarget = target.whoAmI;
|
||||
if (target != null)
|
||||
SmashTarget = target.whoAmI;
|
||||
}
|
||||
|
||||
// Strongly locks onto the target center
|
||||
|
||||
Reference in new issue
Block a user