Skip to content

Commit

Permalink
No Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hesamzkr committed Feb 20, 2021
1 parent d0c8181 commit afa4be1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Assets/Scripts/Tsunami.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ void FixedUpdate()

if (distance <= 1f && firstHit && !kill)
{
//maxSpeed = playerMaxSpeed;
currentSpeed = maxSpeed = playerSpeed;
maxSpeed = playerMaxSpeed;
currentSpeed = playerSpeed;
acceleration = playerAcceleration;
firstHit = false;

Expand Down

0 comments on commit afa4be1

Please sign in to comment.