Skip to content

Commit

Permalink
h
Browse files Browse the repository at this point in the history
  • Loading branch information
Mythril382 authored Nov 18, 2023
1 parent 89323f8 commit 448890a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rcm/entities/unit/NeckUnit.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ public void update(){
newPupilX = newPupilY = 0f;
}

pupilX = newPupilX;
pupilY = newPupilY;
pupilX = Mathf.approachDelta(pupilX, newPupilX, neck.pupilSpeed);
pupilY = Mathf.approachDelta(pupilY, newPupilY, neck.pupilSpeed);
}

@Override
Expand Down

0 comments on commit 448890a

Please sign in to comment.