Fixed Timekeeper crash.
This commit is contained in:
parent
8091c18e7d
commit
3eeb1c8ff2
@ -48,7 +48,7 @@ namespace Decimation.Content.Projectiles.Boss.DuneWyrm
|
||||
|
||||
public override bool PreKill(int timeLeft)
|
||||
{
|
||||
SiblingProjectile.Kill();
|
||||
SiblingProjectile?.Kill();
|
||||
|
||||
return true;
|
||||
}
|
||||
@ -69,7 +69,7 @@ namespace Decimation.Content.Projectiles.Boss.DuneWyrm
|
||||
if (Sibling == -1)
|
||||
{
|
||||
projectile.position.Y -= 8f;
|
||||
|
||||
|
||||
Rotation = projectile.velocity.ToRotation();
|
||||
Speed = projectile.velocity.Length();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user