cancelresume on death

This commit is contained in:
MaxRobinsonTheGreat 2024-02-05 13:48:02 -06:00
parent f9c41246f1
commit 271f5672f4

View file

@ -158,6 +158,7 @@ export class Agent {
process.exit(1);
});
this.bot.on('death', () => {
this.coder.cancelResume();
this.coder.stop();
});
this.bot.on('kicked', (reason) => {