This commit is contained in:
Evert Prants 2022-04-16 10:50:22 +03:00
parent b58853af51
commit 1a701cd391
Signed by: evert
GPG Key ID: 1688DA83D222D0B5
1 changed files with 4 additions and 0 deletions

View File

@ -124,6 +124,10 @@ export class PonyEntity {
}
public jump() {
if (!this.onFloor) {
return;
}
this.velocity.y = 12;
}