Skip to content

Commit

Permalink
Change to send movement state along with syncing movement
Browse files Browse the repository at this point in the history
  • Loading branch information
insthync committed Aug 30, 2021
1 parent ed395bf commit 6fe60c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scripts/AimAtCursorPlayerCharacterController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ protected void UpdateInput()

UpdateLookInput();
UpdateWASDInput();
PlayerCharacterEntity.SetExtraMovement(isSprinting ? ExtraMovementState.IsSprinting : ExtraMovementState.None);
PlayerCharacterEntity.SetExtraMovementState(isSprinting ? ExtraMovementState.IsSprinting : ExtraMovementState.None);
}

protected void UpdateWASDInput()
Expand Down

0 comments on commit 6fe60c2

Please sign in to comment.