Fix move & stop player
This commit is contained in:
parent
ab70b28bb3
commit
b391ee271a
2 changed files with 12 additions and 4 deletions
|
@ -95,7 +95,7 @@ export class Player extends PlayableCaracter implements CurrentGamerInterface, G
|
|||
}
|
||||
if (!haveMove) {
|
||||
direction = PlayerAnimationNames.None;
|
||||
this.move(0, 0)
|
||||
this.stop();
|
||||
}
|
||||
this.sharePosition(direction);
|
||||
this.CameraManager.moveCamera(this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue