diff --git a/Projectiles/Enemy/DraedonLaser.cs b/Projectiles/Enemy/DraedonLaser.cs index 22ce49e929..45e474a9c6 100644 --- a/Projectiles/Enemy/DraedonLaser.cs +++ b/Projectiles/Enemy/DraedonLaser.cs @@ -8,10 +8,11 @@ namespace CalamityMod.Projectiles.Enemy { public class DraedonLaser : ModProjectile { + // The DrawBeam method relies on localAI[0] for its calculations. A different parameter won't work. public float TrailLength { - get => projectile.ai[0]; - set => projectile.ai[0] = value; + get => projectile.localAI[0]; + set => projectile.localAI[0] = value; } public const int MaxTrailPoints = 50; public override void SetStaticDefaults()