mirror of
https://codeberg.org/emersion/gamja.git
synced 2024-11-14 19:05:01 -05:00
Spread it like butter
This commit is contained in:
parent
430373dd13
commit
987f0b3389
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ export default class Client extends EventTarget {
|
||||||
constructor(params) {
|
constructor(params) {
|
||||||
super();
|
super();
|
||||||
|
|
||||||
this.params = Object.assign(this.params, params);
|
this.params = { ...this.params, ...params };
|
||||||
|
|
||||||
this.reconnect();
|
this.reconnect();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue