fixed oversight where DirectStrike could theoretically hit NPCs when it shouldn't
This commit is contained in:
1 parent
5434d32726
commit
cf9cccf7a6
1 file changed
+1
-1
@@ -26,7 +26,7 @@ namespace CalamityMod.Projectiles.Typeless
|
||||
{
|
||||
if (projectile.ai[0] < 0f || projectile.ai[0] > 199f)
|
||||
return null;
|
||||
return projectile.ai[0] == target.whoAmI;
|
||||
return (projectile.ai[0] == target.whoAmI) ? null : false;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user