Try to get Chinthe to stop jumping upon reaching player
This commit is contained in:
@@ -44,10 +44,6 @@ public abstract partial class Enemy2D : Enemy
|
||||
{
|
||||
Velocity = safeVelocity;
|
||||
LookAtTarget(safeVelocity);
|
||||
if (Velocity > Vector3.Zero)
|
||||
_enemyLogic.Input(new EnemyLogic.Input.Move());
|
||||
else
|
||||
_enemyLogic.Input(new EnemyLogic.Input.Idle());
|
||||
MoveAndSlide();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user