Skip to content

Commit

Permalink
[fix] minor spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrugzz committed Mar 24, 2013
1 parent da1711b commit 870439d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/godot/net/client.js
Expand Up @@ -129,12 +129,12 @@ Client.prototype.connect = function (port, host, callback) {

if (this.reconnect) {
if (typeof this.reconnect === 'object') {
backoffType = this.reconnect.type || 'expotential';
backoffType = this.reconnect.type || 'exponential';
connectBackoff = backoff[backoffType](this.reconnect);
connectBackoff.failAfter(this.reconnect.maxTries || 10);
}
else {
connectBackoff = backoff.expotential();
connectBackoff = backoff.exponential();
connectBackoff.failAfter(10);
}

Expand Down

0 comments on commit 870439d

Please sign in to comment.