Skip to content
Permalink
Browse files

[fix] minor spelling

  • Loading branch information...
jcrugzz committed Mar 24, 2013
1 parent da1711b commit 870439de253414870ef82cd968251cace507e9d0
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/godot/net/client.js
@@ -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);
}

0 comments on commit 870439d

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.