Fixed finish screen switch

tags: #fix
This commit is contained in:
Calum
2017-08-15 23:30:27 +12:00
parent 50baf6f85b
commit 4e68cf31cf
2 changed files with 6 additions and 3 deletions
@@ -235,7 +235,7 @@ public class GameState implements Runnable {
// TODO: 15/08/17 remove magic numbers from these equations.
if (yacht.getSailIn()) {
if (velocity < maxBoatSpeed - 500) {
yacht.changeVelocity(maxBoatSpeed / 150);
yacht.changeVelocity(maxBoatSpeed / 100);
} else if (velocity > maxBoatSpeed + 500) {
yacht.changeVelocity(-maxBoatSpeed / 100);
} else {