oops
This commit is contained in:
parent
b58853af51
commit
1a701cd391
@ -124,6 +124,10 @@ export class PonyEntity {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public jump() {
|
public jump() {
|
||||||
|
if (!this.onFloor) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
this.velocity.y = 12;
|
this.velocity.y = 12;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user