liamcottle / rustplus.js

Unofficial NodeJS library for controlling Smart Switches in the PC game Rust
224 stars 46 forks source link

Changed isConnected to better reflect actual socket state. #66

Closed nerif-tafu closed 6 months ago

nerif-tafu commented 6 months ago

The previous code would return true while the socket was connecting.

liamcottle commented 6 months ago

Thanks!