Arcana / node-dota2-bot

Wrapper around the node-dota2 library which handles all log-in shenanigans
MIT License
9 stars 7 forks source link

Missing break statement in queue._execute #15

Open devilesk opened 5 years ago

devilesk commented 5 years ago

I think there's a missing break statement after this line https://github.com/Arcana/node-dota2-bot/blob/36e3d1f4ff394f24805d5255925424f8e00c2414/queue.js#L121 at the end of the STATE.BLOCKED case. Right now it falls through and always executes the default case logic which doesn't seem like the intended behavior.