Skip to content
Snippets Groups Projects
Commit 34c9b4f4 authored by Oscar Wiberg's avatar Oscar Wiberg
Browse files

speedpowerup bug fixad genom attändra == till >= i player jump, samt lade till...

speedpowerup bug fixad genom attändra == till >= i player jump, samt lade till = 265 för att återställa player y position
parent be75ef73
Branches
Tags
1 merge request!2Newmode
...@@ -108,7 +108,8 @@ public class Player { ...@@ -108,7 +108,8 @@ public class Player {
playerY += movingSpeed; playerY += movingSpeed;
if (playerY == 265) { if (playerY >= 265) {
playerY = 265;
down = false; down = false;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment