Made gravity better since lncvrt keeps complaining
This commit is contained in:
1 parent
a573d74bbd
commit
c0b309c451
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -34,7 +34,7 @@ public partial class Player : Node2D {
|
||||
}
|
||||
}
|
||||
|
||||
if (true) {
|
||||
if (VelocityY < 600f) {
|
||||
VelocityY += Globals.Gravity * (float)delta;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user