NPC menu easy exit

This commit is contained in:
biglyderv 2024-11-25 14:14:21 -05:00
parent 0b040d409a
commit 988044dc7f

View file

@ -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;
}