Destroyer telegraph kills itself if the Probe is launched while the telegraph is active.
This commit is contained in:
1 parent
ebe24fb000
commit
a869291ef6
1 file changed
+4
@@ -39,7 +39,11 @@ namespace CalamityMod.Particles
|
||||
Rotation += MathHelper.ToRadians(8f) * (1f - pulseProgress) * RotationDirection;
|
||||
|
||||
if (NPCToFollow != null && NPCToFollow.active && !Main.tile[NPCToFollow.Center.ToSafeTileCoordinates()].IsTileSolid())
|
||||
{
|
||||
Position = NPCToFollow.Center;
|
||||
if (NPCToFollow.ai[2] == 1f)
|
||||
Kill();
|
||||
}
|
||||
else
|
||||
Kill();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user