User settings (#1337)

* user settings bruh

* remove development dump

* emit stuff

* i am so done

* Update ClientUserSettings.js

* modularize

* Update ClientUserSettings.js

* Update Constants.js

* Update ClientUserSettings.js

* Update RESTMethods.js

* Update ClientUserSettings.js

* <.<
This commit is contained in:
Gus Caplan
2017-04-05 15:03:33 -05:00
committed by Crawl
parent 5d85de0883
commit 801633b970
11 changed files with 291 additions and 12 deletions

View File

@@ -49,7 +49,8 @@ class ClientManager {
* @param {number} time The interval in milliseconds at which heartbeat packets should be sent
*/
setupKeepAlive(time) {
this.heartbeatInterval = this.client.setInterval(() => this.client.ws.heartbeat(true), time);
this.heartbeatInterval = time;
this.client.setInterval(() => this.client.ws.heartbeat(true), time);
}
destroy() {