joshuaferrara / node-csgo

A node-steam plugin for Counter-Strike: Global Offensive.
MIT License
461 stars 82 forks source link

Fix knocking #71

Closed rchh closed 4 years ago

rchh commented 4 years ago

Fixed an issue where multiple calls to CSGO.CSGOClient(...).launch() without a GC response could create duplicate setInterval(this._sendClientHello, 2500) which will never stop sending k_EMsgGCClientHello.

joshuaferrara commented 4 years ago

I was hoping to get the CI build to pass by adding a small fix to the example, but I guess since it's still in the context of a PR the env vars don't get exposed so they'll fail. I ran the tests locally and they passed, so I'll pull this in shortly.

joshuaferrara commented 4 years ago

Pulled it in - thank you :D