Skip to content

Commit

Permalink
Rename ToggleHorse method
Browse files Browse the repository at this point in the history
  • Loading branch information
zpl-zak committed Jun 6, 2019
1 parent 833246a commit 049f26c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Assets/Scripts/Game/TransportManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public bool HasHorse()
/// <summary>
/// Mounts a horse or cart if available if on foot, otherwise gets on foot
/// </summary>
public void ToggleHorse()
public void ToggleMount()
{
if (TransportMode == TransportModes.Horse || TransportMode == TransportModes.Cart)
{
Expand Down Expand Up @@ -248,7 +248,7 @@ void Update()
{
if (GameManager.Instance.PlayerController.isGrounded)
{
ToggleHorse();
ToggleMount();
}
}
}
Expand Down

0 comments on commit 049f26c

Please sign in to comment.