NPC menu easy exit
This commit is contained in:
parent
e5c2e77775
commit
ff070e90b6
1 changed files with 2 additions and 0 deletions
|
@ -66,6 +66,8 @@ class Player extends Entity {
|
|||
|
||||
if (target.type == 'NPC' && velness > 0.2 && this.ticks >= 15) {
|
||||
this.isMenu = true;
|
||||
let that = this;
|
||||
setTimeout(() => that.isMenu = false, 8000);
|
||||
this.rot = 1.2;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue