NPC menu easy exit

This commit is contained in:
biglyderv 2024-11-05 07:29:38 -05:00
parent e5c2e77775
commit ff070e90b6

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