removed unused closewindow

This commit is contained in:
Maximus 2024-09-29 12:31:23 -07:00
parent f3d2f29652
commit 675594db08

View file

@ -249,10 +249,6 @@ export class Agent {
this.bot.on('idle', () => {
this.bot.clearControlStates();
this.bot.pathfinder.stop(); // clear any lingering pathfinder
if (this.bot.currentWindow) {
this.bot.chat('Closing window...');
this.bot.closeWindow(this.bot.currentWindow);
}
this.bot.modes.unPauseAll();
this.coder.executeResume();
});