Skip to content

Commit

Permalink
Merge pull request #46 from Step7750/fix/hello-gc
Browse files Browse the repository at this point in the history
MAJOR: Fixes #45 _connection reference
  • Loading branch information
joshuaferrara authored Jan 29, 2017
2 parents fbb2a38 + 5b5772d commit df83df1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ var CSGOClient = function CSGOClient(steamUser, steamGC, debug) {
if (!self._gc) {
util.log("GC went missing");
}
else if (!self._gc._connection) {
else if (!self._gc._client || !self._gc._client._connection) {
util.log("GC Connection went missing, exiting");

self._gcReady = false;
Expand Down

0 comments on commit df83df1

Please sign in to comment.